Skip to content

Commit 2746a32

Browse files
committed
Fix Changelog generation for releases
1 parent c341484 commit 2746a32

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -74,24 +74,15 @@ jobs:
7474
MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}
7575
GITHUB_TOKEN: ${{ github.token }}
7676

77-
- name: Read CHANGELOG
78-
id: changelog
79-
run: |
80-
CHANGELOG=$(cat CHANGELOG.md)
81-
CHANGELOG="${CHANGELOG//'%'/'%25'}"
82-
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
83-
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
84-
echo "::set-output name=body::$CHANGELOG"
85-
8677
- name: Create Release
87-
uses: actions/create-release@master
78+
uses: actions/create-release@v1
8879
id: create_release
8980
with:
9081
draft: false
9182
prerelease: false
9283
release_name: ${{ github.event.repository.name }} ${{ env.RELEASE_VERSION }}
9384
tag_name: ${{ env.RELEASE_VERSION }}
94-
body: ${{ steps.changelog.outputs.body }}
85+
#body_path: CHANGELOG.md
9586
env:
9687
GITHUB_TOKEN: ${{ github.token }}
9788

0 commit comments

Comments
 (0)