diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4d21ad..1185a6a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }}