aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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