Skip to content

Commit

Permalink
Modified test-and-release workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
XHunter74 committed Oct 16, 2024
1 parent 5ac9dbb commit cd4f3ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,12 +107,12 @@ jobs:
VERSION="${{ github.ref }}"
VERSION=${VERSION##*/v}
# VERSION=0.0.6
echo "::set-output name=VERSION::$VERSION"
echo "{name}={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 "{name}={BODY::$BODY}" >> $GITHUB_OUTPUT
- name: Publish package to npm
run: |
Expand Down

0 comments on commit cd4f3ea

Please sign in to comment.