Tweak tag.sh

This commit is contained in:
Vladimir Mihailenco 2021-08-12 15:43:44 +03:00
parent 4ed306de42
commit 4029656ad5
1 changed files with 2 additions and 2 deletions

View File

@ -31,10 +31,10 @@ PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \
| sed 's/^\.\///' \ | sed 's/^\.\///' \
| sort) | sort)
git tag ${TAG} git tag ${TAG} -m "Version ${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} -a -m "Version ${TAG}" git tag ${dir}/${TAG}
done done