diff --git a/scripts/tagit.sh b/scripts/tagit.sh index 9db1549..8435d7f 100755 --- a/scripts/tagit.sh +++ b/scripts/tagit.sh @@ -7,4 +7,7 @@ git tag echo "********************************" echo "input a tag ie: v1.a.b" read TAG -echo "will tag to ${TAG}" \ No newline at end of file +echo "will tag to ${TAG}" +DATE=$(date --iso-8601) +git tag -a "${TAG}" -m "${DATE}" +git push --tags