From be33c48e470215d7423b2914eb8384eafa89d27b Mon Sep 17 00:00:00 2001 From: Kevin Whitley Date: Sun, 14 Apr 2024 15:43:45 -0500 Subject: [PATCH] updating release script --- .github/workflows/release.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9a7a2e1..ce4cd95 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,10 @@ 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: @@ -19,6 +23,7 @@ jobs: 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