diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1fad662..46c577f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -104,8 +104,8 @@ jobs: - name: Export Properties id: properties run: | - echo "::set-output name=version::$(./gradlew properties --console=plain -q | grep "^version:" | awk '{printf $2}')" - echo "::set-output name=name::$(./gradlew properties --console=plain -q | grep "^name:" | awk '{printf $2}')" + echo "::set-output name=version::$(./gradlew properties --console=plain -q | grep "^version:" | cut -f2- -d ' ')" + echo "::set-output name=name::$(./gradlew properties --console=plain -q | grep "^name:" | cut -f2- -d ' ')" CHANGELOG=$(./gradlew getChangelog --unreleased --no-header --console=plain -q) CHANGELOG="${CHANGELOG//'%'/'%25'}"