Skip to content

Commit 0b6dcf5

Browse files
committed
chore: update release script
1 parent 947dca7 commit 0b6dcf5

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

scripts/release.sh

+1-6
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,12 @@ then
4040
fi
4141

4242
git checkout master
43+
make go_mod_tidy
4344

4445
PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \
4546
| sed 's/^\.\///' \
4647
| sort)
4748

48-
for dir in $PACKAGE_DIRS
49-
do
50-
printf "${dir}: go mod tidy -compat=1.20\n"
51-
(cd ./${dir} && go mod tidy -compat=1.20)
52-
done
53-
5449
for dir in $PACKAGE_DIRS
5550
do
5651
sed --in-place \

0 commit comments

Comments
 (0)