@@ -57,9 +57,16 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0 # Checkout full depth so tags can be discovered automatically if not specified
|
fetch-depth: 0 # Checkout full depth so tags can be discovered automatically if not specified
|
||||||
|
|
||||||
|
- name: Prepare Tag
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
id: tag_version
|
||||||
|
run: echo ::set-output name=VERSION::$(echo ${GITHUB_REF:10})
|
||||||
|
|
||||||
- name: "Build Changelog"
|
- name: "Build Changelog"
|
||||||
id: github_release
|
id: github_release
|
||||||
uses: mikepenz/release-changelog-builder-action@main
|
uses: mikepenz/release-changelog-builder-action@main
|
||||||
|
with:
|
||||||
|
toTag: ${{ steps.tag_version.outputs.VERSION }}
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user