mirror of https://github.com/containers/podman.git
hack/release.sh: Bump spec in dev_version_commit
Bump it to the next version (without a -dev suffix), based on the
precedent set by 70672652
(Bump to v0.6.1-dev, 2018-05-25, #834).
Previously I had VERSION there, which was a copy/paste error.
I've also added an explicit write_spec_version to release_commit.
That *should* be a no-op, with the spec version having already been
set by the previous release's dev_version_commit. But better to be
safe than to cut a release with the wrong version number in the spec
file (e.g. maybe we guessed NEXT_VERSION wrong during the last
release).
Signed-off-by: W. Trevor King <wking@tremily.us>
Closes: #879
Approved by: mheon
This commit is contained in:
parent
500b94968b
commit
96dc5fd0d5
|
@ -45,6 +45,7 @@ write_changelog()
|
|||
release_commit()
|
||||
{
|
||||
write_go_version "${VERSION}" &&
|
||||
write_spec_version "${VERSION}" &&
|
||||
write_changelog &&
|
||||
git commit -asm "Bump to v${VERSION}"
|
||||
}
|
||||
|
@ -52,7 +53,7 @@ release_commit()
|
|||
dev_version_commit()
|
||||
{
|
||||
write_go_version "${NEXT_VERSION}-dev" &&
|
||||
write_spec_version "${VERSION}" &&
|
||||
write_spec_version "${NEXT_VERSION}" &&
|
||||
git commit -asm "Bump to v${NEXT_VERSION}-dev"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue