We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04b1478 commit 081bf6bCopy full SHA for 081bf6b
scripts/release.sh
@@ -47,14 +47,15 @@ PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \
47
48
for dir in $PACKAGE_DIRS
49
do
50
- sed --in-place \
51
- "s/go-redis\/redis\([^ ]*\) v.*/go-redis\/redis\1 ${TAG}/" "${dir}/go.mod"
+ printf "${dir}: go get -u && go mod tidy\n"
+ (cd ./${dir} && go get -u && go mod tidy)
52
done
53
54
55
56
- printf "${dir}: go get -d && go mod tidy\n"
57
- (cd ./${dir} && go get -d && go mod tidy)
+ sed --in-place \
+ "s/go-redis\/redis\([^ ]*\) v.*/go-redis\/redis\1 ${TAG}/" "${dir}/go.mod"
58
59
60
61
sed --in-place "s/\(return \)\"[^\"]*\"/\1\"${TAG#v}\"/" ./version.go
0 commit comments