Skip to content

Commit

Permalink
fix(init): improve GitHub Release body (#665)
Browse files Browse the repository at this point in the history
  • Loading branch information
ybiquitous committed Aug 8, 2020
1 parent 14aee5a commit d466176
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
id: get_version
- uses: softprops/action-gh-release@v1
with:
body: |
For details, see the [changelog](https://github.com/${{ github.repository }}/blob/${{ github.sha }}/CHANGELOG.md).
See the [changelog](https://github.com/${{ github.repository }}/blob/${{ steps.get_version.outputs.VERSION }}/CHANGELOG.md) for more details.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d466176

Please sign in to comment.