Skip to content

Commit

Permalink
Add patches to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tokox committed Mar 27, 2024
1 parent 540e1e3 commit b843a22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
push:
tags:
- 'v\d+\.\d+'
- 'v\d+\.\d+-\d+'

permissions:
contents: write
Expand Down Expand Up @@ -75,7 +76,7 @@ jobs:
- name: Create release
uses: ncipollo/[email protected]
with:
name: Release ${{ github.ref_name }}
name: ${{ contains(github.ref_name, '-') && 'Patch' || 'Release'}} ${{ github.ref_name }}
bodyFile: changelog.md
tag: ${{ github.ref_name }}

Expand Down

0 comments on commit b843a22

Please sign in to comment.