forked from mirror/redis
Fix tag script to push tag by tag
This commit is contained in:
parent
5e6479ec64
commit
0c6ce84bad
|
@ -32,9 +32,11 @@ PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \
|
|||
| sort)
|
||||
|
||||
git tag ${TAG}
|
||||
git push origin ${TAG}
|
||||
|
||||
for dir in $PACKAGE_DIRS
|
||||
do
|
||||
printf "tagging ${dir}/${TAG}\n"
|
||||
git tag ${dir}/${TAG}
|
||||
git push origin ${dir}/${TAG}
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue