Skip to content

Commit 5791801

Browse files
afonsojramossetchy
andauthored
build(release): v5.10.0 (#1349)
* chore: fix link in contributing * 5.10.0 * try using github_token * update labeler for release branches * update labeler for release branches * docs: dependency dashboard * confirm if the permission was the magic * re-introduce permission --------- Co-authored-by: Adam Setch <[email protected]>
1 parent a0e5ea3 commit 5791801

File tree

6 files changed

+29
-11
lines changed

6 files changed

+29
-11
lines changed

.github/labeler.yml

+15-2
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,42 @@ version: v1
22

33
labels:
44
- label: 'enhancement'
5+
sync: true
56
matcher:
67
title: '^feat(\(\w+\))?: .*'
78

89
- label: 'bug'
10+
sync: true
911
matcher:
1012
title: '^fix(\(\w+\))?: .*'
1113

1214
- label: 'refactor'
15+
sync: true
1316
matcher:
1417
title: '^refactor(\(\w+\))?: .*'
1518

1619
- label: 'documentation'
20+
sync: true
1721
matcher:
1822
title: '^docs(\(\w+\))?: .*'
1923

2024
- label: 'test'
25+
sync: true
2126
matcher:
2227
title: '^test(\(\w+\))?: .*'
2328

2429
- label: 'build'
30+
sync: true
2531
matcher:
26-
title: '^(ci|build)(\(\w+\))?: .*'
32+
title: '^(ci|build)(\((?!release)\w+\))?: (?!.*\brelease\b).*'
33+
34+
- label: 'release'
35+
sync: true
36+
matcher:
37+
branch: '^release/.*'
2738

2839
- label: 'dependency'
40+
sync: true
2941
matcher:
3042
title: '^(deps)(\(\w+\))?: .*'
3143

@@ -42,4 +54,5 @@ checks:
4254
- documentation
4355
- test
4456
- build
45-
- dependency
57+
- dependency
58+
- release

.github/workflows/release.yml

+5
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
APPLEID_TEAM_ID: ${{ secrets.appleid_teamid }}
3434
CSC_LINK: ${{ secrets.mac_certs }}
3535
CSC_KEY_PASSWORD: ${{ secrets.mac_certs_password }}
36+
GH_TOKEN: ${{ secrets.github_token }}
3637
NOTARIZE: true
3738
- uses: actions/upload-artifact@v4
3839
with:
@@ -57,6 +58,8 @@ jobs:
5758
OAUTH_CLIENT_ID: ${{ secrets.oauth_client_id }}
5859
OAUTH_CLIENT_SECRET: ${{ secrets.oauth_client_secret }}
5960
- run: pnpm make:win --publish onTagOrDraft
61+
env:
62+
GH_TOKEN: ${{ secrets.github_token }}
6063
- uses: actions/upload-artifact@v4
6164
with:
6265
name: Gitify-release-win
@@ -80,6 +83,8 @@ jobs:
8083
OAUTH_CLIENT_ID: ${{ secrets.oauth_client_id }}
8184
OAUTH_CLIENT_SECRET: ${{ secrets.oauth_client_secret }}
8285
- run: pnpm make:linux --publish onTagOrDraft
86+
env:
87+
GH_TOKEN: ${{ secrets.github_token }}
8388
- uses: actions/upload-artifact@v4
8489
with:
8590
name: Gitify-release-linux

.husky/pre-commit

-1
This file was deleted.

CONTRIBUTING.md

+8-6
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,13 @@ pnpm test -- --watch
5555
The release process is automated. Follow the steps below.
5656

5757
1. Verify that all features you want targeted in the release have been merged to `main`.
58-
2. Create a [new **draft** release][github-new-release]. Set the tag version to something with the format of `v1.2.3`. Save as a **draft** before moving to the next step
59-
3. Create a branch that starts with `release/vX.X.X` (ie. `release/v1.2.3`).
60-
4. In the same branch, **bump the version** of the app by running `pnpm version <new-version-number`. Commit these changes and open a PR. A GitHub Actions workflow will build, sign and upload the release assets for each commit to that branch as long as a branch is named like `release/vX.X.X` and there is a draft release with the same version number(`package.json`).
61-
5. Merge your release branch into `main`.
62-
6. Publish the release once you've finalized the release notes and confirmed all assets are there.
63-
7. A new homebrew cask will be automatically published (workflow runs ~3 hours)
58+
2. Check the [Renovate Dependency Dashboard](https://github.com/gitify-app/gitify/issues/576) to see if there are any updates you want included.
59+
3. Create a [new **draft** release][github-new-release]. Set the tag version to something with the format of `v1.2.3`. Save as a **draft** before moving to the next step
60+
4. Create a branch that starts with `release/vX.X.X` (ie. `release/v1.2.3`).
61+
5. In the same branch, **bump the version** of the app by running `pnpm version <new-version-number`. Commit these changes and open a PR. A GitHub Actions workflow will build, sign and upload the release assets for each commit to that branch as long as a branch is named like `release/vX.X.X` and there is a draft release with the same version number(`package.json`).
62+
6. Merge your release branch into `main`.
63+
7. Publish the release once you've finalized the release notes and confirmed all assets are there.
64+
8. A new homebrew cask will be automatically published (workflow runs ~3 hours)
6465

6566
### Project Philosophy
6667

@@ -79,3 +80,4 @@ This project is a tool for monitoring new notifications from Github. It's not me
7980
<!-- LINK LABELS -->
8081
[biome-website]: https://biomejs.dev/
8182
[jest-website]: https://jestjs.io/
83+
[github-new-release]: https://github.com/gitify-app/gitify/releases/new

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ For more information, see [LICENSE](LICENSE).
3434
[github]: https://github.com/gitify-app/gitify
3535
[github-actions]: https://github.com/gitify-app/gitify/actions
3636
[github-releases]: https://github.com/gitify-app/gitify/releases/latest
37-
[github-new-release]: https://github.com/gitify-app/gitify/releases/new
3837
[github-website]: https://github.com/gitify-app/website
3938
[github-website-pulls]: https://github.com/gitify-app/website/pulls
4039
[brew]: http://brew.sh/

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gitify",
3-
"version": "5.9.0",
3+
"version": "5.10.0",
44
"description": "GitHub Notifications on your menu bar.",
55
"main": "src/electron/main.js",
66
"scripts": {

0 commit comments

Comments
 (0)