Skip to content

Commit

Permalink
Update github-config to b9e80ff
Browse files Browse the repository at this point in the history
  • Loading branch information
paketo-bot authored and arjun024 committed Jul 16, 2020
1 parent e2c26b8 commit e6dfed2
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,7 @@ jobs:
run: ./scripts/package.sh --version "${{ steps.tag.outputs.tag }}"
- name: Create Release Notes
id: create-release-notes
run: |
mkdir -p "${HOME}/bin"
export PATH="${PATH}:${HOME}/bin"
curl "https://github.com/paketo-buildpacks/packit/releases/download/v0.0.14/jam-linux" \
--silent \
--location \
--output "${HOME}/bin/jam"
chmod +x "${HOME}/bin/jam"
RELEASE_BODY=$(jam summarize --buildpack "${PWD}/build/buildpack.tgz" --format markdown)
# Coz of this messed up issue
# https://github.saobby.my.eu.orgmunity/t5/GitHub-Actions/set-output-Truncates-Multiline-Strings/m-p/38372#M3322
RELEASE_BODY="${RELEASE_BODY//'%'/'%25'}"
RELEASE_BODY="${RELEASE_BODY//$'\n'/'%0A'}"
RELEASE_BODY="${RELEASE_BODY//$'\r'/'%0D'}"
echo "::set-output name=release_body::$RELEASE_BODY"
uses: paketo-buildpacks/github-config/actions/release/notes@master
- name: Create Release
uses: paketo-buildpacks/github-config/actions/release/create@master
with:
Expand Down

0 comments on commit e6dfed2

Please sign in to comment.