Skip to content

Commit

Permalink
feat(create-release.yml): add GitHub Actions workflow to create a rel…
Browse files Browse the repository at this point in the history
…ease with version input and release notes generation
  • Loading branch information
ogabrielluiz committed May 28, 2024
1 parent 482ac3f commit 6070bbb
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6070bbb

Please sign in to comment.