From 4ed306de42b0e875ee1c26da42952fb3a5040e16 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Thu, 12 Aug 2021 15:00:12 +0300 Subject: [PATCH] Create an annotated tag to give release.yml chance to run --- scripts/bump_deps.sh | 4 ++-- scripts/release.sh | 4 ++-- scripts/tag.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/bump_deps.sh b/scripts/bump_deps.sh index 5337286..f294c4f 100755 --- a/scripts/bump_deps.sh +++ b/scripts/bump_deps.sh @@ -4,6 +4,6 @@ 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 -d && go mod tidy\n" + (cd ./${dir} && go get -d && go mod tidy) done diff --git a/scripts/release.sh b/scripts/release.sh index 56e3d24..fe9f74b 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -53,8 +53,8 @@ done for dir in $PACKAGE_DIRS do - printf "${dir}: go mod tidy\n" - (cd ./${dir} && go mod tidy) + printf "${dir}: go get -d && go mod tidy\n" + (cd ./${dir} && go get -d && go mod tidy) done sed --in-place "s/\(return \)\"[^\"]*\"/\1\"${TAG#v}\"/" ./version.go diff --git a/scripts/tag.sh b/scripts/tag.sh index b9c8cba..6038c81 100755 --- a/scripts/tag.sh +++ b/scripts/tag.sh @@ -36,5 +36,5 @@ git tag ${TAG} for dir in $PACKAGE_DIRS do printf "tagging ${dir}/${TAG}\n" - git tag ${dir}/${TAG} + git tag ${dir}/${TAG} -a -m "Version ${TAG}" done