Skip to content

Commit

Permalink
Create GitHub release via CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistecdr committed Nov 17, 2024
1 parent 2b6f96d commit 873cfe0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/node-release-major.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/node-release-minor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/node-release-patch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 873cfe0

Please sign in to comment.