aboutsummaryrefslogtreecommitdiffstats
path: root/dist
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@verizonmedia.com>2021-09-17 11:39:31 +0200
committerArnstein Ressem <aressem@verizonmedia.com>2021-09-17 11:39:31 +0200
commit6a60fbf7a66e46d471f5d2dbc284da7aca0a5e1a (patch)
treeb540c790b9e325ec7cbc6276f44314ce74624752 /dist
parentbf17a89d72bd3e83e89a40cbf80a5641593ffff7 (diff)
Create dual version tags in a temporary period to allow switching to new build method on Copr.
Diffstat (limited to 'dist')
-rwxr-xr-xdist/release-vespa-rpm.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/dist/release-vespa-rpm.sh b/dist/release-vespa-rpm.sh
index dbd5565729c..b217affe8fd 100755
--- a/dist/release-vespa-rpm.sh
+++ b/dist/release-vespa-rpm.sh
@@ -29,6 +29,10 @@ for i in 1 2 3; do
git pull --rebase
done
+# Create a proper release tag
+git tag -a "v$VERSION" -m "Release $VERSION" $GITREF
+git push origin "v$VERSION"
+
# Delete existing branch if exists and create new one
git push --delete origin $RPM_BRANCH &> /dev/null || true
git branch -D $RPM_BRANCH &> /dev/null || true