-
-
Notifications
You must be signed in to change notification settings - Fork 564
31 lines (26 loc) · 1.04 KB
/
post_release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Post Release
on:
release:
types: [released]
jobs:
create-issues:
name: Create GitHub Issues
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- run: |
gh issue create --title "Publish Windows Release for $RELEASE_TAG" --body "Update json file in root of project."
gh issue create --title "Publish Flatpak Release for $RELEASE_TAG" --body "Update https://github.com/flathub/com.github.dail8859.NotepadNext"
gh issue create --title "Publish Homebrew Release for $RELEASE_TAG" --body "Update https://github.com/dail8859/homebrew-notepadnext/blob/master/Casks/notepadnext.rb with release number and DMG sha256"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_TAG: ${{ github.event.release.tag_name }}
winget:
name: Publish to WinGet
runs-on: ubuntu-latest
steps:
- uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: dail8859.NotepadNext
token: ${{ secrets.WINGET_TOKEN }}