mirror of
https://github.com/Mibew/simple-icons.git
synced 2025-05-02 17:16:42 +03:00
Upgrade git-message-action from v1 to v1.2.0 (#6424)
This commit is contained in:
parent
2cfea3131c
commit
f9e8ecb777
16
.github/workflows/publish.yml
vendored
16
.github/workflows/publish.yml
vendored
@ -71,17 +71,7 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Get commit message (for release title and body)
|
- name: Get commit message (for release title and body)
|
||||||
id: commit
|
id: commit
|
||||||
uses: kceb/git-message-action@v1
|
uses: kceb/git-message-action@v1.2.0
|
||||||
- name: Get release title and body
|
|
||||||
id: release
|
|
||||||
run: |
|
|
||||||
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 $(expr $(echo "${{ steps.commit.outputs.git-message }}" | wc -l) - 1))
|
|
||||||
RELEASE_BODY="${RELEASE_BODY//'%'/'%25'}"
|
|
||||||
RELEASE_BODY="${RELEASE_BODY//$'\n'/'%0A'}"
|
|
||||||
RELEASE_BODY="${RELEASE_BODY//$'\r'/'%0D'}"
|
|
||||||
echo "::set-output name=body::$RELEASE_BODY"
|
|
||||||
- name: Get release version
|
- name: Get release version
|
||||||
id: get-version
|
id: get-version
|
||||||
run: |
|
run: |
|
||||||
@ -98,8 +88,8 @@ jobs:
|
|||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.get-version.outputs.version }}
|
tag_name: ${{ steps.get-version.outputs.version }}
|
||||||
release_name: ${{ steps.release.outputs.title }}
|
release_name: ${{ steps.commit.outputs.title }}
|
||||||
body: ${{ steps.release.outputs.body }}
|
body: ${{ steps.commit.outputs.body }}
|
||||||
font:
|
font:
|
||||||
name: Trigger simple-icons-font release
|
name: Trigger simple-icons-font release
|
||||||
needs: npm
|
needs: npm
|
||||||
|
Loading…
Reference in New Issue
Block a user