Skip to content

Commit

Permalink
Add release workflow
Browse files Browse the repository at this point in the history
GitHub releases will be triggered by tags pushing, you can also add some steps like website deployment in this workflow.
  • Loading branch information
Goooler committed Jul 5, 2024
1 parent 1463cb2 commit a93c5ff
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: release

on:
push:
tags:
- '**'

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Extract release notes
uses: ffurrer2/extract-release-notes@v2
with:
release_notes_file: RELEASE_NOTES.md
- name: Create release
run: gh release create ${{ github.ref_name }} --notes-file RELEASE_NOTES.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a93c5ff

Please sign in to comment.