Add git-retag and woodpecker_server
This commit is contained in:
parent
78f73135b3
commit
2a51281db8
2 changed files with 14 additions and 0 deletions
.bin
12
.bin/git-retag
Executable file
12
.bin/git-retag
Executable 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"
|
Loading…
Add table
Add a link
Reference in a new issue