Skip to content

Commit

Permalink
release-action.yml iterate
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy committed Nov 14, 2023
1 parent a11fd8b commit 48fe267
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:
echo "VERSION=$VERSION" >> $GITHUB_ENV
{
echo "RELEASE_NOTES<<EOF"
echo $BODY
echo "$BODY"
echo "EOF"
} >> $GITHUB_ENV
Expand All @@ -102,7 +102,7 @@ jobs:
VERSION: ${{ steps.release.outputs.tag_name }}

- name: Finalise version
if: inputs.mode == 'final'
if: inputs.final
run: echo "VERSION=$(echo $VERSION | cut -d- -f1)" >> $GITHUB_ENV

- name: Check version number not in use
Expand Down Expand Up @@ -204,7 +204,7 @@ jobs:
core.exportVariable("RELEASE_NOTES", notes);
- name: Add to CHANGELOG.md
if: inputs.mode == 'final'
if: inputs.final
run: |
mv CHANGELOG.md CHANGELOG.md.old
HEADER="Changes in [${VERSION#v}](https://github.com/${{ github.repository }}/releases/tag/$VERSION) ($(date '+%Y-%m-%d'))"
Expand Down

0 comments on commit 48fe267

Please sign in to comment.