mirror of https://github.com/go-redis/redis.git
Create an annotated tag to give release.yml chance to run
This commit is contained in:
parent
74f9a7338f
commit
4ed306de42
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue