- 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
-6
View File
@@ -91,17 +91,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- 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:
configuration: "configs/configuration_repo.json"
toTag: ${{ steps.tag_version.outputs.VERSION }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}