mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
GitHub Actions - revert CHANGELOG escaping to the working solution
This commit is contained in:
parent
f9fca8690d
commit
70cbdce227
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -106,7 +106,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
VERSION="$(./gradlew properties --console=plain -q | grep "^version:" | cut -f2- -d ' ')"
|
VERSION="$(./gradlew properties --console=plain -q | grep "^version:" | cut -f2- -d ' ')"
|
||||||
NAME="$(./gradlew properties --console=plain -q | grep "^name:" | cut -f2- -d ' ')"
|
NAME="$(./gradlew properties --console=plain -q | grep "^name:" | cut -f2- -d ' ')"
|
||||||
CHANGELOG=$(./gradlew getChangelog --unreleased --no-header --console=plain -q | jq -sRr @uri)
|
CHANGELOG=$(./gradlew getChangelog --unreleased --no-header --console=plain -q)
|
||||||
|
CHANGELOG="${CHANGELOG//'%'/'%25'}"
|
||||||
|
CHANGELOG="${CHANGELOG//$'\n'/'%0A'}"
|
||||||
|
CHANGELOG="${CHANGELOG//$'\r'/'%0D'}"
|
||||||
ARTIFACT="${NAME}-${VERSION}.zip"
|
ARTIFACT="${NAME}-${VERSION}.zip"
|
||||||
|
|
||||||
echo "::set-output name=version::$VERSION"
|
echo "::set-output name=version::$VERSION"
|
||||||
|
Loading…
Reference in New Issue
Block a user