Skip to content

Commit

Permalink
Update test-and-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
arteck authored Nov 10, 2024
1 parent bc8030f commit cd927fa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ jobs:
# The body may be multiline, therefore newlines and % need to be escaped
run: |
VERSION="${{ github.ref }}"
VERSION=${VERSION##*/v}
echo "::set-output name=VERSION::$VERSION"
VERSION=${VERSION##*/v}
echo "{VERSION}={$VERSION}" >> $GITHUB_OUTPUT
BODY=$(git show -s --format=%b)
BODY="${BODY//'%'/'%25'}"
BODY="${BODY//$'\n'/'%0A'}"
BODY="${BODY//$'\r'/'%0D'}"
echo "::set-output name=BODY::$BODY"
echo "{BODY}={$BODY}" >> $GITHUB_OUTPUT
# If you like, activate automated version publish to NPM
# Only if commit contains a version, see : https://github.com/AlCalzone/release-script

Expand Down

0 comments on commit cd927fa

Please sign in to comment.