Added github action for release creation
This commit is contained in:
parent
10256c5bf3
commit
44c4398fe4
31
.github/workflows/release.yml
vendored
Normal file
31
.github/workflows/release.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
|||
name: Create Release
|
||||
|
||||
on:
|
||||
push:
|
||||
tags: [ v*, alpha-*, beta-* ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: read
|
||||
|
||||
name: Generate Release
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Generate Changelog
|
||||
uses: pfandie/generate-changelog-action@v1.0.6
|
||||
id: changelog
|
||||
with:
|
||||
next_tag: ${{ github.ref_name }}
|
||||
|
||||
- name: Create Release
|
||||
uses: ncipollo/release-action@v1.14.0
|
||||
with:
|
||||
makeLatest: true
|
||||
body: ${{ steps.changelog.outputs.changelog }}
|
||||
name: "Release ${{ github.ref_name }}"
|
Loading…
Reference in a new issue