diff --git a/newtag.sh b/newtag.sh index 4bad156..2488cdf 100755 --- a/newtag.sh +++ b/newtag.sh @@ -1,5 +1,6 @@ #!/bin/bash +for i in $(git tag --list | xargs); do git tag --delete ${i}; done git pull git tag $(date +"%Y.%m.%d") git push --tags