fix changelog handling in release flow
This commit is contained in:
parent
3e9c6c84bb
commit
d66cf3595e
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -38,15 +38,17 @@ jobs:
|
|||||||
EOM
|
EOM
|
||||||
)"
|
)"
|
||||||
|
|
||||||
|
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
||||||
|
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
||||||
|
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
||||||
echo "::set-output name=changelog::$CHANGELOG"
|
echo "::set-output name=changelog::$CHANGELOG"
|
||||||
# Update Unreleased section with the current release note
|
# Update Unreleased section with the current release note
|
||||||
- name: Patch Changelog
|
- name: Patch Changelog
|
||||||
if: ${{ steps.properties.outputs.changelog != '' }}
|
if: ${{ steps.properties.outputs.changelog != '' }}
|
||||||
|
env:
|
||||||
|
CHANGELOG: ${{ steps.properties.outputs.changelog }}
|
||||||
run: |
|
run: |
|
||||||
./gradlew patchChangelog --release-note "$(cat << 'EOM'
|
./gradlew patchChangelog --release-note="$CHANGELOG"
|
||||||
${{ steps.properties.outputs.changelog }}
|
|
||||||
EOM
|
|
||||||
)"
|
|
||||||
# Publish the plugin to the Marketplace
|
# Publish the plugin to the Marketplace
|
||||||
- name: Publish Plugin
|
- name: Publish Plugin
|
||||||
env:
|
env:
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
### Fixed
|
### Fixed
|
||||||
- NullPointerException on key completion
|
- NullPointerException on key completion
|
||||||
|
- Changelog handling in release flow
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Updated plugin dependencies
|
- Updated plugin dependencies
|
||||||
|
Loading…
x
Reference in New Issue
Block a user