Skip to content

Commit

Permalink
updating release script
Browse files Browse the repository at this point in the history
  • Loading branch information
kwhitley committed Apr 14, 2024
1 parent 477d667 commit be33c48
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,18 @@ jobs:
- name: Check out code
uses: actions/checkout@v2

- name: Prepare tag for release notes
id: prep
run: echo "##[set-output name=tag;]$(echo ${GITHUB_REF#refs/tags/} | sed 's/\./ /g')"

- name: Create Release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: 'see [v${{ github.ref_name }} CHANGELOG entry](https://github.com/kwhitley/itty-router/blob/v5.x/CHANGELOG.md#v${{ github.ref_name.substring(1).replace(/\./g, '') }}) for notes'
body: |
See [v${{ steps.prep.outputs.tag }} CHANGELOG entry](https://github.com/kwhitley/itty-router/blob/v5.x/CHANGELOG.md#${{ steps.prep.outputs.tag }}) for notes
draft: false
prerelease: false

0 comments on commit be33c48

Please sign in to comment.