drop scripts/tag-release.sh in favor of scripts/cut-release.sh

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2021-04-16 16:14:57 +02:00
parent a90d8a1439
commit 310a1ad5f1
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 0 additions and 26 deletions

View File

@ -1,26 +0,0 @@
#!/usr/bin/env bash
set -eof pipefail
if [ $# -eq 0 ]
then
echo "Need to supply a release tag"
exit 0
fi
TAG=$1
if $(git tag | grep -q $TAG); then
echo "Tag $TAG exists, replacing"
git tag --delete $TAG
git push --delete origin $TAG
else
echo "New tag $TAG"
fi
git tag -s -a $TAG -m "Release $TAG"
# NOTE(oskarth): Alt. that requires two pushes: git push origin $TAG
git push --follow-tags
echo "Done"