summaryrefslogtreecommitdiff
path: root/hack/release.sh
diff options
context:
space:
mode:
Diffstat (limited to 'hack/release.sh')
-rwxr-xr-xhack/release.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/hack/release.sh b/hack/release.sh
index 986e2b58b..6a91c098c 100755
--- a/hack/release.sh
+++ b/hack/release.sh
@@ -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"
}