Merge pull request #18 from mikepenz/feature/specify_tag
Specify toTag for the automated release generation
This commit is contained in:
@@ -57,9 +57,16 @@ jobs:
|
||||
with:
|
||||
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"
|
||||
id: github_release
|
||||
uses: mikepenz/release-changelog-builder-action@main
|
||||
with:
|
||||
toTag: ${{ steps.tag_version.outputs.VERSION }}
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user