mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Fix tag script to push tag by tag
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user