feat(create-release.yml): add GitHub Actions workflow to create a release with version input and release notes generation
This commit is contained in:
parent
482ac3fbfc
commit
6070bbb8fc
1 changed files with 27 additions and 0 deletions
27
.github/workflows/create-release.yml
vendored
Normal file
27
.github/workflows/create-release.yml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Create Release
|
||||
on:
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
version:
|
||||
description: "Version to release"
|
||||
required: true
|
||||
type: string
|
||||
jobs:
|
||||
create_release:
|
||||
name: Create Release
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: dist
|
||||
path: dist
|
||||
- name: Create Release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: "dist/*"
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
draft: false
|
||||
generateReleaseNotes: true
|
||||
prerelease: true
|
||||
tag: v${{ inputs.version }}
|
||||
commit: dev
|
||||
Loading…
Add table
Add a link
Reference in a new issue