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 \