From dfcb7c5ae8f570fb2cfb0844e13af03d511343e6 Mon Sep 17 00:00:00 2001 From: hudescottes Date: Thu, 27 Jun 2024 17:47:00 +0200 Subject: [PATCH 1/6] chore: Release workflow --- .github/workflows/release.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..0a798577 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,28 @@ +name: Create Release + +on: + push: + tags: + - '[0-9]+.[0-9]+.[0-9]+' + +jobs: + build: + name: Create Release + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@master + - name: Create Release + id: create_release + uses: actions/create-release@latest + 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 + - Second Change + draft: false + prerelease: false \ No newline at end of file From ff80e5c6cc7aaf0096e9fe3806c6574e88d3cb13 Mon Sep 17 00:00:00 2001 From: hudescottes Date: Thu, 27 Jun 2024 18:04:14 +0200 Subject: [PATCH 2/6] chore: Release workflow --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a798577..8049a5f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,5 +24,6 @@ jobs: Changes in this Release - First Change - Second Change + - Third Change draft: false prerelease: false \ No newline at end of file From 903d09012965bdbb5e71ff7fe94056d392ad5c52 Mon Sep 17 00:00:00 2001 From: hudescottes Date: Thu, 27 Jun 2024 18:09:19 +0200 Subject: [PATCH 3/6] chore: Release workflow --- .github/workflows/{release.yml => release_test.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/workflows/{release.yml => release_test.yml} (100%) diff --git a/.github/workflows/release.yml b/.github/workflows/release_test.yml similarity index 100% rename from .github/workflows/release.yml rename to .github/workflows/release_test.yml From 684f5dbde1e7e7e3eb0dddf17ff09685c453d002 Mon Sep 17 00:00:00 2001 From: hudescottes Date: Thu, 27 Jun 2024 18:15:23 +0200 Subject: [PATCH 4/6] chore: Release workflow --- .github/workflows/release_test.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release_test.yml b/.github/workflows/release_test.yml index 8049a5f0..72fa677f 100644 --- a/.github/workflows/release_test.yml +++ b/.github/workflows/release_test.yml @@ -3,8 +3,7 @@ name: Create Release on: push: tags: - - '[0-9]+.[0-9]+.[0-9]+' - + - "[0-9]+.[0-9]+.[0-9]+" jobs: build: name: Create Release @@ -16,10 +15,10 @@ jobs: id: create_release uses: actions/create-release@latest env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} - release_name: Release ${{ github.ref }} + release_name: v${{ github.ref }} body: | Changes in this Release - First Change From 516cdb9ab9fb80a35d66fb4e4de57f435caa63d4 Mon Sep 17 00:00:00 2001 From: hudescottes Date: Thu, 27 Jun 2024 18:19:29 +0200 Subject: [PATCH 5/6] chore: Release workflow --- .github/workflows/release_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_test.yml b/.github/workflows/release_test.yml index 72fa677f..6443d581 100644 --- a/.github/workflows/release_test.yml +++ b/.github/workflows/release_test.yml @@ -3,7 +3,7 @@ name: Create Release on: push: tags: - - "[0-9]+.[0-9]+.[0-9]+" + - '[0-9]+.[0-9]+.[0-9]+' jobs: build: name: Create Release From 50c55fbcdb6426852727afcc3bdf9726ba0cae07 Mon Sep 17 00:00:00 2001 From: hudescottes Date: Thu, 27 Jun 2024 18:21:50 +0200 Subject: [PATCH 6/6] chore: Release workflow --- .github/workflows/release_test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release_test.yml b/.github/workflows/release_test.yml index 6443d581..9998ebf2 100644 --- a/.github/workflows/release_test.yml +++ b/.github/workflows/release_test.yml @@ -3,7 +3,7 @@ name: Create Release on: push: tags: - - '[0-9]+.[0-9]+.[0-9]+' + - v2 jobs: build: name: Create Release