From 59303a1dde127b72ad13dd151fc0b411a6abba5d Mon Sep 17 00:00:00 2001 From: Noah Beard Date: Wed, 18 Jan 2023 09:50:20 -0500 Subject: [PATCH] Only make lightweight tags in CD --- utils/publish-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/publish-release.sh b/utils/publish-release.sh index d38dc5af..e6ed8323 100755 --- a/utils/publish-release.sh +++ b/utils/publish-release.sh @@ -64,8 +64,8 @@ git fetch git checkout main git pull "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/aws/aws-iot-device-sdk-python-v2.git" main -# Create new tag on latest commit with the release title -git tag -f v${new_version} -m "${RELEASE_TITLE}" +# Create new tag on latest commit (lightweight tag - we do NOT want an annotated tag) +git tag -f v${new_version} # Push new tag to github git push "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/aws/aws-iot-device-sdk-python-v2.git" --tags