From 51890d13c1791c1776384a41f43a037690d79e2b Mon Sep 17 00:00:00 2001 From: Remco Vermeulen Date: Wed, 20 Sep 2023 10:34:10 -0700 Subject: [PATCH] Create lightweight tag to reference release --- .github/workflows/prepare-release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/prepare-release.yml b/.github/workflows/prepare-release.yml index fa3a2647f3..c5b02fd679 100644 --- a/.github/workflows/prepare-release.yml +++ b/.github/workflows/prepare-release.yml @@ -107,6 +107,10 @@ jobs: RELEASE_VERSION: ${{ inputs.version }} GITHUB_TOKEN: ${{ github.token }} run: | + # Create lightweight tag to reference release + git tag v$RELEASE_VERSION + git push -f origin v$RELEASE_VERSION + gh release create \ -R $GITHUB_REPOSITORY \ --title "v$RELEASE_VERSION" \