diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b023e60..816ac34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,9 +31,10 @@ jobs: # Update Unreleased section with the current release note - name: Patch Changelog run: | - ./gradlew patchChangelog --release-note="`cat << EOM + ./gradlew patchChangelog --release-note "$(cat << 'EOM' ${{ github.event.release.body }} - EOM`" + EOM + )" # Publish the plugin to the Marketplace - name: Publish Plugin diff --git a/CHANGELOG.md b/CHANGELOG.md index cbc287a..f390fdd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ ### Fixed - Fixed passing change notes from `CHANGELOG.md` to the Release Draft +- Fixed passing updated change notes from the Release Draft to `patchChangelog` Gradle task ### Removed - Removed the `pluginVerifierIdeVersions` configuration to use default IDEs list provided by the `listProductsReleases` task for `runPluginVerifier`