From 3eff3737dc53fdcc49bbdef85fb592b90042594e Mon Sep 17 00:00:00 2001 From: Bernd Schorgers Date: Thu, 27 Jul 2023 19:13:15 +0200 Subject: [PATCH] ci: Create release on tag --- .github/workflows/build-app.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-app.yaml b/.github/workflows/build-app.yaml index 69dc46b5..325df78b 100644 --- a/.github/workflows/build-app.yaml +++ b/.github/workflows/build-app.yaml @@ -15,7 +15,7 @@ concurrency: cancel-in-progress: false permissions: - contents: read + contents: write packages: write jobs: @@ -58,3 +58,10 @@ jobs: push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} + + - name: Create GitHub release + # Create a release when a tag is pushed + if: success() && startsWith(github.ref, 'refs/tags/') + uses: ncipollo/release-action@v1 + with: + generateReleaseNotes: true