Skip to content

Commit

Permalink
Update build-release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek authored Jul 23, 2020
1 parent 7ceabe3 commit df25da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
export VERSION=$(cat version.h | sed 's/[^0-9,.]//g')
export TAG=v${VERSION}.${GITHUB_RUN_ID}.${GITHUB_RUN_NUMBER}
export RELEASE_TEXT=$(grep -Pzo '## ${VERSION}\n(\n|.)+?\n##' ../CHANGELOG.md | sed '$ d')
export RELEASE_TEXT=$(grep -Pzo "## ${VERSION}\n(\n|.)+?\n##" ../CHANGELOG.md | sed '$ d')
RELEASE_TEXT="${RELEASE_TEXT//'%'/'%25'}"
RELEASE_TEXT="${RELEASE_TEXT//$'\n'/'%0A'}"
RELEASE_TEXT="${RELEASE_TEXT//$'\r'/'%0D'}"
Expand Down

0 comments on commit df25da9

Please sign in to comment.