Skip to content

Commit 73ca337

Browse files
authored
Merge pull request #19 from mikepenz/develop
dev -> main
2 parents 54d9b23 + bd027aa commit 73ca337

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,16 @@ jobs:
5757
with:
5858
fetch-depth: 0 # Checkout full depth so tags can be discovered automatically if not specified
5959

60+
- name: Prepare Tag
61+
if: startsWith(github.ref, 'refs/tags/')
62+
id: tag_version
63+
run: echo ::set-output name=VERSION::$(echo ${GITHUB_REF:10})
64+
6065
- name: "Build Changelog"
6166
id: github_release
6267
uses: mikepenz/release-changelog-builder-action@main
68+
with:
69+
toTag: ${{ steps.tag_version.outputs.VERSION }}
6370
env:
6471
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6572

0 commit comments

Comments
 (0)