From 05a298fcbba667040373c81a60f02939b381e178 Mon Sep 17 00:00:00 2001 From: Thomas Jonstrup Date: Fri, 29 Dec 2023 17:08:57 +0100 Subject: [PATCH 1/5] Update build.yml Added release step --- .github/workflows/build.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9367e78..3928f65 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,3 +34,16 @@ jobs: # If the commit is tagged with a version (e.g. "v1.0.0"), # release the app after building release: ${{ startsWith(github.ref, 'refs/tags/v') }} + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + with: + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} + body: | + Changes in this Release + - First Change + draft: false + prerelease: false From cbc1735e7b3fbac028280eeccb23771e996daa66 Mon Sep 17 00:00:00 2001 From: Thomas Jonstrup Date: Fri, 29 Dec 2023 17:17:46 +0100 Subject: [PATCH 2/5] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3928f65..f8ef6c9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,7 +41,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token with: tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} + release_name: Release ${{ github.ref_name }} body: | Changes in this Release - First Change From 315ae515160d63148a64199dbd1a7b19fcc71b7d Mon Sep 17 00:00:00 2001 From: Thomas Jonstrup Date: Fri, 29 Dec 2023 17:27:24 +0100 Subject: [PATCH 3/5] Update build.yml temp name --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f8ef6c9..e4b2c6c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -41,7 +41,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token with: tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref_name }} + release_name: Release v1 body: | Changes in this Release - First Change From c8535a96f129c38b667b64947054d3694076f505 Mon Sep 17 00:00:00 2001 From: Thomas Jonstrup Date: Fri, 29 Dec 2023 17:38:04 +0100 Subject: [PATCH 4/5] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e4b2c6c..e7fcc43 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,7 +40,7 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token with: - tag_name: ${{ github.ref }} + tag_name: v1 release_name: Release v1 body: | Changes in this Release From d6d6b2b5fb4fed1b6f2a29f8dcd879f7fcb08ffc Mon Sep 17 00:00:00 2001 From: Thomas Jonstrup Date: Fri, 29 Dec 2023 18:30:06 +0100 Subject: [PATCH 5/5] Update build.yml Outcommented create release --- .github/workflows/build.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e7fcc43..10924f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,16 +34,16 @@ jobs: # If the commit is tagged with a version (e.g. "v1.0.0"), # release the app after building release: ${{ startsWith(github.ref, 'refs/tags/v') }} - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token - with: - tag_name: v1 - release_name: Release v1 - body: | - Changes in this Release - - First Change - draft: false - prerelease: false + ##- name: Create Release + # id: create_release + # uses: actions/create-release@v1 + # env: + # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + # with: + # tag_name: v1 + # release_name: Release v1 + # body: | + # Changes in this Release + # - First Change + # draft: false + # prerelease: false