diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2017-10-02 17:04:39 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2017-10-02 17:04:39 +0200 |
commit | e72b76bad0f09131bff5147bf4962e03f1688a73 (patch) | |
tree | 205ee5398ae6c06d4943fc002f68afaad6484104 /dist/release-vespa-rpm.sh | |
parent | f7545172a59fb08ea39d1342ebfd1f0ebf1b6a52 (diff) |
Remove release suffix from release tag
Diffstat (limited to 'dist/release-vespa-rpm.sh')
-rwxr-xr-x | dist/release-vespa-rpm.sh | 5 |
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 |