File tree Expand file tree Collapse file tree 2 files changed +44
-16
lines changed
Expand file tree Collapse file tree 2 files changed +44
-16
lines changed Original file line number Diff line number Diff line change 1+ name : On Tag
2+
3+ on :
4+ push :
5+ tags : ' v*'
6+
7+ jobs :
8+ pr-to-homebrew :
9+ name : Homebrew
10+ runs-on : macos-latest
11+ steps :
12+ - uses : Homebrew/actions/setup-homebrew@master
13+ - id : version
14+ run : echo "version=$(echo ${{ github.ref }} | sed 's/refs\/tags\/v//')" >> $GITHUB_OUTPUT
15+ - run : brew bump-cask-pr gitify --version=${{ steps.version.outputs.version }} --message="Bump gitify to ${{ steps.version.outputs.version }}"
16+ env :
17+ HOMEBREW_GITHUB_API_TOKEN : ${{ secrets.GH_TOKEN }}
18+
19+ update-website :
20+ name : Website
21+ runs-on : ubuntu-latest
22+ steps :
23+ - uses : actions/checkout@v4
24+ with :
25+ repository : gitify-app/website
26+ token : ${{ secrets.GH_TOKEN }}
27+ - uses : pnpm/action-setup@v2
28+ - uses : actions/setup-node@v4
29+ with :
30+ node-version-file : ' .nvmrc'
31+ cache : ' pnpm'
32+ - id : version
33+ run : echo "version=$(echo ${{ github.ref }} | sed 's/refs\/tags\/v//')" >> $GITHUB_OUTPUT
34+ - name : setup git config
35+ run : |
36+ git config user.name "Gitify Version Bot"
37+ git config user.email "<>"
38+ - run : git checkout -b "bump/${{ steps.version.outputs.version }}"
39+ - run : pnpm version ${{ steps.version.outputs.version }}
40+ - run : git push origin "bump/${{ steps.version.outputs.version }}"
41+ - uses : actions/github-script@v6
42+ with :
43+ script : |
44+ core.notice('Create PR by going to: https://github.com/gitify-app/website/compare/bump/${{ steps.version.outputs.version }}')
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments