mirror of
https://github.com/miaowware/qrm2.git
synced 2025-02-21 04:58:43 -05:00
parent
27863ae6bf
commit
7c818cfb34
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
@ -30,13 +30,14 @@ jobs:
|
|||||||
|
|
||||||
echo ::set-output name=subject::${SUBJECT}
|
echo ::set-output name=subject::${SUBJECT}
|
||||||
echo ::set-output name=body::${BODY}
|
echo ::set-output name=body::${BODY}
|
||||||
echo ::set-output name=current_version::${GITHUB_REF#refs/tags/v}
|
echo ::set-output name=version_tag::${GITHUB_REF#refs/tags/}
|
||||||
|
echo ::set-output name=version::${GITHUB_REF#refs/tags/v}
|
||||||
|
|
||||||
- name: Get Changelog Content
|
- name: Get Changelog Content
|
||||||
id: changelog_reader
|
id: changelog_reader
|
||||||
uses: mindsers/changelog-reader-action@v2
|
uses: mindsers/changelog-reader-action@v2
|
||||||
with:
|
with:
|
||||||
version: ${{ steps.get_tag.outputs.current_version }}
|
version: ${{ steps.get_tag.outputs.version }}
|
||||||
path: ./CHANGELOG.md
|
path: ./CHANGELOG.md
|
||||||
|
|
||||||
- name: Publish Release
|
- name: Publish Release
|
||||||
@ -45,7 +46,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
tag_name: ${{ steps.changelog_reader.outputs.version }}
|
tag_name: ${{ steps.get_tag.outputs.version_tag }}
|
||||||
release_name: ${{ steps.get_tag.outputs.subject }}
|
release_name: ${{ steps.get_tag.outputs.subject }}
|
||||||
body: |
|
body: |
|
||||||
${{ steps.get_tag.outputs.body }}
|
${{ steps.get_tag.outputs.body }}
|
||||||
|
Loading…
Reference in New Issue
Block a user