From 873cfe0139a56a317d163eb7ba97e13d3b1ef6c1 Mon Sep 17 00:00:00 2001 From: baptistecdr Date: Sun, 17 Nov 2024 08:58:34 +0100 Subject: [PATCH] Create GitHub release via CI/CD --- .github/workflows/node-release-major.yml | 4 ++++ .github/workflows/node-release-minor.yml | 4 ++++ .github/workflows/node-release-patch.yml | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/.github/workflows/node-release-major.yml b/.github/workflows/node-release-major.yml index d3cb81b9..a780687f 100644 --- a/.github/workflows/node-release-major.yml +++ b/.github/workflows/node-release-major.yml @@ -33,6 +33,10 @@ jobs: pathspec_error_handling: exitImmediately push: true tag: ${{ steps.major_version.outputs.MAJOR_VERSION }} + - name: Create release + env: + GH_TOKEN: ${{ github.token }} + run: gh release create ${{ steps.major_version.outputs.MAJOR_VERSION }} --generate-notes - name: Set next dev version id: dev_version run: | diff --git a/.github/workflows/node-release-minor.yml b/.github/workflows/node-release-minor.yml index 344d19a2..2d7179fe 100644 --- a/.github/workflows/node-release-minor.yml +++ b/.github/workflows/node-release-minor.yml @@ -33,6 +33,10 @@ jobs: pathspec_error_handling: exitImmediately push: true tag: ${{ steps.minor_version.outputs.MINOR_VERSION }} + - name: Create release + env: + GH_TOKEN: ${{ github.token }} + run: gh release create ${{ steps.minor_version.outputs.MINOR_VERSION }} --generate-notes - name: Set next dev version id: dev_version run: | diff --git a/.github/workflows/node-release-patch.yml b/.github/workflows/node-release-patch.yml index 39326b34..1564e848 100644 --- a/.github/workflows/node-release-patch.yml +++ b/.github/workflows/node-release-patch.yml @@ -33,6 +33,10 @@ jobs: pathspec_error_handling: exitImmediately push: true tag: ${{ steps.patch_version.outputs.PATCH_VERSION }} + - name: Create release + env: + GH_TOKEN: ${{ github.token }} + run: gh release create ${{ steps.patch_version.outputs.PATCH_VERSION }} --generate-notes - name: Set next dev version id: dev_version run: |