Skip to content

Commit

Permalink
Fixed appending of new releases to the changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Jan 12, 2024
1 parent 5982e62 commit e5ab7fc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions cernbox-revad.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Name: cernbox-revad
Summary: Reva for CERNBox
Version: 1.0.4
Version: 1.0.4
Release: 1%{?dist}
License: AGPLv3
BuildRoot: %{_tmppath}/%{name}-buildroot
Expand Down Expand Up @@ -74,14 +74,14 @@ install -m 755 reva %buildroot/usr/bin/reva
rm -rf %buildroot/

%changelog
* Fri Jan 12 2024 cernbox-admins[bot] <[email protected]> 1.0.4
- v 1.0.4
* Mon Dec 18 2023 cernbox-admins[bot] <[email protected]> 1.0.3
- v 1.0.3
* Mon Dec 04 2023 cernbox-admins[bot] <[email protected]> 1.0.2
- v 1.0.2
* Thu Nov 16 2023 cernbox-admins[bot] <[email protected]> 1.0.1
- v 1.0.1
* Fri Jan 12 2024 cernbox-admins[bot] <[email protected]> 1.0.4
- v1.0.4
* Mon Dec 18 2023 cernbox-admins[bot] <[email protected]> 1.0.3
- v1.0.3
* Mon Dec 04 2023 cernbox-admins[bot] <[email protected]> 1.0.2
- v1.0.2
* Thu Nov 16 2023 cernbox-admins[bot] <[email protected]> 1.0.1
- v1.0.1
* Mon Nov 13 2023 cernbox-admins[bot] <[email protected]> 0.0.52
- v0.0.52
* Wed Oct 25 2023 cernbox-admins[bot] <[email protected]> 0.0.51
Expand Down
2 changes: 1 addition & 1 deletion prepare_release.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func getNextVersion(spec []string) string {
}
for _, line := range spec {
if strings.HasPrefix(line, "Version:") {
v := strings.TrimPrefix(line, "Version:")
v := strings.TrimPrefix(line, "Version: ")
split := strings.Split(v, ".")

ver, err := strconv.ParseInt(split[2], 10, 64)
Expand Down

0 comments on commit e5ab7fc

Please sign in to comment.