Skip to content

Commit

Permalink
tweaking action
Browse files Browse the repository at this point in the history
  • Loading branch information
kwhitley committed Apr 14, 2024
1 parent 65594a2 commit 2504699
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

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

- name: Create Release
uses: actions/create-release@v1
Expand All @@ -24,6 +24,6 @@ jobs:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
See **bold** [${{ github.ref }} CHANGELOG entry](https://github.com/kwhitley/itty-router/blob/v5.x/CHANGELOG.md#v${{ steps.prep.outputs.tag }}) for notes
See [${{ github.ref_name }} CHANGELOG entry](https://github.com/kwhitley/itty-router/blob/v5.x/CHANGELOG.md#v${{ steps.prep.outputs.tag }}) for notes
draft: false
prerelease: false

0 comments on commit 2504699

Please sign in to comment.