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)
|
| 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
|
||||||
|
|
Loading…
Reference in New Issue