Fix tag script to push tag by tag

This commit is contained in:
Vladimir Mihailenco 2021-09-01 15:30:36 +03:00
parent 5e6479ec64
commit 0c6ce84bad
1 changed files with 2 additions and 0 deletions

View File

@ -32,9 +32,11 @@ PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \
| sort) | sort)
git tag ${TAG} git tag ${TAG}
git push origin ${TAG}
for dir in $PACKAGE_DIRS for dir in $PACKAGE_DIRS
do do
printf "tagging ${dir}/${TAG}\n" printf "tagging ${dir}/${TAG}\n"
git tag ${dir}/${TAG} git tag ${dir}/${TAG}
git push origin ${dir}/${TAG}
done done