- simplify release build thanks to auto ref resolval

This commit is contained in:
Mike Penz
2020-10-18 10:25:49 +02:00
parent ec2aabe545
commit df528e71d1
2 changed files with 0 additions and 13 deletions
-7
View File
@@ -199,16 +199,9 @@ on:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
steps:
- name: Retrieve 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 }}