Skip to content

Commit

Permalink
chore: bump go
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed May 23, 2024
1 parent 8a46911 commit b308ef6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \
for dir in $PACKAGE_DIRS
do
printf "${dir}: go mod tidy\n"
(cd ./${dir} && go mod tidy -go=1.21)
(cd ./${dir} && go mod tidy -go=1.22)
done

for dir in $PACKAGE_DIRS
Expand All @@ -61,7 +61,7 @@ do
sed --in-place "s/\(return \)\"[^\"]*\"/\1\"${TAG#v}\"/" ${dir}/version.go
fi

(cd ./${dir} && go mod tidy -go=1.21)
(cd ./${dir} && go mod tidy -go=1.22)
done

sed --in-place "s/\(\"version\": \)\"[^\"]*\"/\1\"${TAG#v}\"/" ./package.json
Expand Down

0 comments on commit b308ef6

Please sign in to comment.