Add git-retag and woodpecker_server

This commit is contained in:
Tobias Reisinger 2022-04-20 23:31:37 +02:00
parent 78f73135b3
commit 2a51281db8
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
2 changed files with 14 additions and 0 deletions

12
.bin/git-retag Executable file
View file

@ -0,0 +1,12 @@
#!/usr/bin/env sh
set -e
echo "Deleting tag from origin"
git push --delete origin "$1"
echo "Deleting tag locally"
git tag -d "$1"
echo "Recreating tag"
git tag -s -m "$1" "$1"