Use double quotes escaping release data in 'Publish' workflow

This commit is contained in:
Álvaro Mondéjar 2021-01-24 23:01:41 +01:00
parent 576a7fe135
commit bc8ee013ed

View file

@ -47,9 +47,9 @@ jobs:
- name: Get release title and body
id: release
run: |
RELEASE_TITLE=$(echo '${{ steps.commit.outputs.git-message }}' | head -n 1)
RELEASE_TITLE=$(echo "${{ steps.commit.outputs.git-message }}" | head -n 1)
echo "::set-output name=title::$RELEASE_TITLE"
RELEASE_BODY=$(echo '${{ steps.commit.outputs.git-message }}' | tail -n +3)
RELEASE_BODY=$(echo "${{ steps.commit.outputs.git-message }}" | tail -n +3)
echo "::set-output name=body::$RELEASE_BODY"
- name: Get release version
id: get-version