12 lines
189 B
Shell
Executable file
12 lines
189 B
Shell
Executable file
#!/usr/bin/env sh
|
|
|
|
remote=${2:-origin}
|
|
|
|
echo "Deleting tag from origin"
|
|
git push --delete "$remote" "v$1"
|
|
|
|
echo "Deleting tag locally"
|
|
git tag -d "v$1"
|
|
|
|
echo "Recreating tag"
|
|
git vtag "$1"
|