mirror of
https://github.com/redis/go-redis.git
synced 2025-04-19 07:22:17 +03:00
chore: fix release script
This commit is contained in:
parent
c7e6f04ee7
commit
00f12ab29f
@ -48,13 +48,13 @@ PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \
|
|||||||
for dir in $PACKAGE_DIRS
|
for dir in $PACKAGE_DIRS
|
||||||
do
|
do
|
||||||
printf "${dir}: go get -u && go mod tidy\n"
|
printf "${dir}: go get -u && go mod tidy\n"
|
||||||
#(cd ./${dir} && go get -u && go mod tidy -compat=1.18)
|
(cd ./${dir} && go get -u && go mod tidy -compat=1.18)
|
||||||
done
|
done
|
||||||
|
|
||||||
for dir in $PACKAGE_DIRS
|
for dir in $PACKAGE_DIRS
|
||||||
do
|
do
|
||||||
sed --in-place \
|
sed --in-place \
|
||||||
"s/go-redis\/redis\([^ ]*\) v.*/go-redis\/redis\1 ${TAG}/" "${dir}/go.mod"
|
"s/redis\/go-redis\([^ ]*\) v.*/redis\/go-redis\1 ${TAG}/" "${dir}/go.mod"
|
||||||
#(cd ./${dir} && go get -u && go mod tidy -compat=1.18)
|
#(cd ./${dir} && go get -u && go mod tidy -compat=1.18)
|
||||||
(cd ./${dir} && go mod tidy -compat=1.18)
|
(cd ./${dir} && go mod tidy -compat=1.18)
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user