From 51b36a4304f6e5fa2df2d57bac3f72eed4310e40 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Sun, 10 Jul 2022 12:07:20 +0300 Subject: [PATCH] chore: tweak release script --- scripts/release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/release.sh b/scripts/release.sh index 073c4269c..47d658dc5 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -47,8 +47,8 @@ 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) + printf "${dir}: go get -u && go mod tidy -compat=1.17\n" + (cd ./${dir} && go get -u && go mod tidy -compat=1.17) done for dir in $PACKAGE_DIRS