Skip to content

Commit

Permalink
ci: use correct tag value for release name
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpoulain committed Jun 26, 2021
1 parent a19bef0 commit fb8632f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set output vars
id: vars
run: echo ::set-output name=tag::${GITHUB_REF#refs/tags/}
- name: Setup Node (npm registry)
uses: actions/setup-node@v2
with:
Expand All @@ -31,7 +34,7 @@ jobs:
- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
name: Release ${{ github.ref }}
name: Release ${{ steps.vars.outputs.tag }}
body: |
${{ steps.changelog.outputs.changelog }}
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit fb8632f

Please sign in to comment.