From 00f12ab29fa6cd400b331aed1f36b415085ebd55 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Tue, 24 Jan 2023 16:14:31 +0200 Subject: [PATCH] chore: fix release script --- scripts/release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index f880d05b..08bf1708 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -48,13 +48,13 @@ 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 -compat=1.18) + (cd ./${dir} && go get -u && go mod tidy -compat=1.18) done for dir in $PACKAGE_DIRS do sed --in-place \ - "s/go-redis\/redis\([^ ]*\) v.*/go-redis\/redis\1 ${TAG}/" "${dir}/go.mod" + "s/redis\/go-redis\([^ ]*\) v.*/redis\/go-redis\1 ${TAG}/" "${dir}/go.mod" #(cd ./${dir} && go get -u && go mod tidy -compat=1.18) (cd ./${dir} && go mod tidy -compat=1.18) done