mirror of
https://github.com/Mibew/simple-icons.git
synced 2024-11-15 18:04:12 +03:00
Replace 'echo' by 'printf' commands in Publish workflow
This commit is contained in:
parent
2f017666b0
commit
70ead50f27
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@ -47,10 +47,10 @@ jobs:
|
||||
- name: Get release title and body
|
||||
id: release
|
||||
run: |
|
||||
COMMIT_MSG="$(echo "${{ steps.commit.outputs.git-message }}")"
|
||||
RELEASE_TITLE="$(echo "$COMMIT_MSG" | head -n 1)"
|
||||
COMMIT_MSG="$(printf "${{ steps.commit.outputs.git-message }}")"
|
||||
RELEASE_TITLE="$(printf "$COMMIT_MSG" | head -n 1)"
|
||||
echo "::set-output name=title::$RELEASE_TITLE"
|
||||
RELEASE_BODY="$(echo "$COMMIT_MSG" | tail -n +3)"
|
||||
RELEASE_BODY="$(printf "$COMMIT_MSG" | tail -n +3)"
|
||||
echo "::set-output name=body::$RELEASE_BODY"
|
||||
- name: Get release version
|
||||
id: get-version
|
||||
|
Loading…
Reference in New Issue
Block a user