Skip to content

Commit

Permalink
uppercase
Browse files Browse the repository at this point in the history
and update recipe
  • Loading branch information
ggreif committed Jan 18, 2023
1 parent 065a475 commit 98e2399
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ jobs:
perl -0777 -ne '/^# Motoko compiler changelog\n\n## (??{quotemeta($ENV{VERSION})}) \(\d\d\d\d-\d\d-\d\d\)\n\n(.*?)^##/sm or die "Changelog does not look right for this version\n" ; print $1' Changelog.md > changelog-extract.md
cat changelog-extract.md
# need to mangle to use with $GITHUB_OUTPUT (previously: set-output),
# see https://github.com/svenstaro/upload-release-action/pull/49/files
echo "release_body=$(perl -0777 -p -e 's/%/%25/g; s/\n/%0A/g; s/\r/%0D/g' changelog-extract.md)" >> "$GITHUB_OUTPUT"
# see https://github.com/svenstaro/upload-release-action/blob/master/README.md
# under "Example for feeding a file from repo to the body tag"
echo "RELEASE_BODY=$(perl -0777 -p -e 's/%/%25/g; s/\n/%0A/g; s/\r/%0D/g' changelog-extract.md)" >> "$GITHUB_OUTPUT"
outputs:
release_body: ${{ steps.read_changelog.outputs.release_body }}
release_body: ${{ steps.read_changelog.outputs.RELEASE_BODY }}

# Now build the release on both linux and darwin
build:
Expand Down

0 comments on commit 98e2399

Please sign in to comment.