Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
fix: tag_name
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasolerr committed May 28, 2024
1 parent bc54943 commit 8a70527
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ jobs:
with:
config-path: .github/release-drafter.yml

- name: Set Release Tag
id: set_release_tag
run: echo "::set-output name=tag_name::$(cat .github/release-drafter.yml | grep -oP 'tag-template: \K.*' | sed 's/\$NEXT_PATCH_VERSION/v0.1.0/')"

publish:
needs: generate-release-notes
runs-on: ubuntu-latest
Expand All @@ -47,13 +43,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ steps.set_release_tag.outputs.tag_name }}
release_name: ${{ steps.set_release_tag.outputs.tag_name }}
tag_name: ${{ steps.release_notes.outputs.tag_name }}
release_name: ${{ steps.release_notes.outputs.name }}
draft: false
prerelease: false

- name: Upload Release Asset
id: upload-release-asset
id: upload_release_asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 8a70527

Please sign in to comment.