From df528e71d1c5553879ac2a94ca771ba1575eaf6a Mon Sep 17 00:00:00 2001 From: Mike Penz Date: Sun, 18 Oct 2020 10:25:49 +0200 Subject: [PATCH] - simplify release build thanks to auto ref resolval --- .github/workflows/ci.yml | 6 ------ README.md | 7 ------- 2 files changed, 13 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c6d5cae..16a52d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/README.md b/README.md index b391c45..1a142fc 100644 --- a/README.md +++ b/README.md @@ -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 }}