chore: don't update dependencies

This commit is contained in:
Vladimir Mihailenco 2022-10-14 15:18:15 +03:00
parent c306a51f21
commit 894b0b961b
1 changed files with 3 additions and 2 deletions

View File

@ -48,14 +48,15 @@ PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \
for dir in $PACKAGE_DIRS
do
printf "${dir}: go get -u && go mod tidy\n"
(cd ./${dir} && go get -u && go mod tidy)
#(cd ./${dir} && go get -u && go mod tidy)
done
for dir in $PACKAGE_DIRS
do
sed --in-place \
"s/go-redis\/redis\([^ ]*\) v.*/go-redis\/redis\1 ${TAG}/" "${dir}/go.mod"
(cd ./${dir} && go get -u && go mod tidy)
#(cd ./${dir} && go get -u && go mod tidy)
(cd ./${dir} && go mod tidy)
done
sed --in-place "s/\(return \)\"[^\"]*\"/\1\"${TAG#v}\"/" ./version.go