summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@gmail.com>2017-10-02 18:43:02 +0200
committerGitHub <noreply@github.com>2017-10-02 18:43:02 +0200
commitf0700d41ef742094255bcbe2dacf780b86ea9e1d (patch)
tree732632d4b8018b0ceceaf282a92cf8892c102128
parent72e28a72370c6ab4756bb03c69090cc540db26a0 (diff)
parente72b76bad0f09131bff5147bf4962e03f1688a73 (diff)
Merge pull request #3620 from vespa-engine/bjorncs/dist
Remove release suffix from release tag
-rwxr-xr-xdist/release-vespa-rpm.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/release-vespa-rpm.sh b/dist/release-vespa-rpm.sh
index ba9195dff05..eaf91468c38 100755
--- a/dist/release-vespa-rpm.sh
+++ b/dist/release-vespa-rpm.sh
@@ -34,6 +34,11 @@ mv pom.xml pom.xml.hide
# Run tito to update spec file and tag
tito tag --use-version=$VERSION --no-auto-changelog
+# Remove '-1' suffix from tag generated by tito
+readonly TITO_GIT_TAG="vespa-${VERSION}-1"
+git tag "vespa-${VERSION}" ${TITO_GIT_TAG}
+git tag -d ${TITO_GIT_TAG}
+
# Push changes and tag to branc
git push -u origin --follow-tags $RPM_BRANCH