diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2bf855f0..c2f88a04 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,9 +79,13 @@ jobs: run: | TIMESTAMP=$(date -u +%Y-%m-%dT%H:%M:%S.%3NZ) LONG_DATE=$(date -u +"%A, %B %-d, %Y at %T") + COMMIT_MESSAGE=$(cat << EOF + ${{ github.event.head_commit.message }} + EOF + ) COMMIT_URL=${{ github.event.head_commit.url }} SHORT_COMMIT_SHA=${{ steps.short_sha.outputs.sha_short }} - escaped_commit_message=$(echo "${{ github.event.head_commit.message }}" | sed -z 's/\\n/\\n/g') + escaped_commit_message=$(echo "${COMMIT_MESSAGE}" | sed -z 's/\\n/\\n/g') VERSION=${{ steps.get_version.outputs.VERSION }} if [[ $VERSION == *-pre ]] then