Skip to content

Commit 00f12ab

Browse files
committed
chore: fix release script
1 parent c7e6f04 commit 00f12ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: scripts/release.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \
4848
for dir in $PACKAGE_DIRS
4949
do
5050
printf "${dir}: go get -u && go mod tidy\n"
51-
#(cd ./${dir} && go get -u && go mod tidy -compat=1.18)
51+
(cd ./${dir} && go get -u && go mod tidy -compat=1.18)
5252
done
5353

5454
for dir in $PACKAGE_DIRS
5555
do
5656
sed --in-place \
57-
"s/go-redis\/redis\([^ ]*\) v.*/go-redis\/redis\1 ${TAG}/" "${dir}/go.mod"
57+
"s/redis\/go-redis\([^ ]*\) v.*/redis\/go-redis\1 ${TAG}/" "${dir}/go.mod"
5858
#(cd ./${dir} && go get -u && go mod tidy -compat=1.18)
5959
(cd ./${dir} && go mod tidy -compat=1.18)
6060
done

0 commit comments

Comments
 (0)