From e7852573aa6c065906f7c1845885220c2d68e58f Mon Sep 17 00:00:00 2001 From: hoseacodes Date: Mon, 27 May 2024 04:24:07 -0500 Subject: [PATCH] fix(*): update tag in pipeline --- .github/workflows/main.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index af4dbe7..97a962d 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -99,9 +99,10 @@ jobs: id: create_release_id env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - tag: ${{ github.ref_name }} + tag: ${{ github.ref_name }} ${{ steps.semver.outputs.patch }} run: | - gh release create "$tag ${{ steps.semver.outputs.patch }}" \ + git tag -a $tag -m "Release $tag" + gh release create "$tag" \ --repo="$GITHUB_REPOSITORY" \ --title="${GITHUB_REPOSITORY#*/} ${tag#v}" \ --generate-notes \