diff --git a/newtag.sh b/newtag.sh index c96192c..2488cdf 100755 --- a/newtag.sh +++ b/newtag.sh @@ -1,4 +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