From 894b0b961bf60a64d5feb8748f111b0bb28a87f5 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Fri, 14 Oct 2022 15:18:15 +0300 Subject: [PATCH] chore: don't update dependencies --- scripts/release.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index 2e78be6..8991006 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -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