Skip to content

Commit af0514b

Browse files
authored
update tag.sh to create signed tags. (#604)
* update tag.sh to create signed tags. * rm tag_latest_modulesh.sh
1 parent 57d5f55 commit af0514b

File tree

2 files changed

+2
-29
lines changed

2 files changed

+2
-29
lines changed

tag.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ TAG_CURRENT=`git tag | grep '^v' | tail -1`
7474
PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; | egrep -v 'tools' | sed 's/^\.\///' | sort)
7575

7676
# Create tag for root module
77-
git tag -a "${TAG}" -m "Version ${TAG}" ${COMMIT_HASH}
77+
git tag -a "${TAG}" -s -m "Version ${TAG}" ${COMMIT_HASH}
7878

7979
# Create tag for submodules
8080
for dir in $PACKAGE_DIRS; do
81-
git tag -a "${dir}/${TAG}" -m "Version ${dir}/${TAG}" ${COMMIT_HASH}
81+
git tag -a "${dir}/${TAG}" -s -m "Version ${dir}/${TAG}" ${COMMIT_HASH}
8282
done
8383

8484
# Generate commit logs

tag_latest_modules.sh

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)