Add remote option to git-retag

This commit is contained in:
Tobias Reisinger 2026-10-27 12:14:09 +01:00
commit 9663ea8845
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -1,7 +1,9 @@
#!/usr/bin/env sh #!/usr/bin/env sh
remote=${2:-origin}
echo "Deleting tag from origin" echo "Deleting tag from origin"
git push --delete origin "v$1" git push --delete "$remote" "v$1"
echo "Deleting tag locally" echo "Deleting tag locally"
git tag -d "v$1" git tag -d "v$1"