Skip to content

Commit f5fd18d

Browse files
committed
chore: bump version to 0.4.1
1 parent a61bfad commit f5fd18d

File tree

4 files changed

+34
-18
lines changed

4 files changed

+34
-18
lines changed

RELEASING.md

Lines changed: 30 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,16 @@ cat package.json
2424

2525
Bump both to the release version before building. After the release is published, bump both to the next minor.
2626

27-
## Build
27+
## Build (Signed for Updater)
28+
29+
The updater requires signing artifacts during the build. Export the private key
30+
before `tauri build`:
31+
32+
```bash
33+
export TAURI_SIGNING_PRIVATE_KEY=~/.tauri/codexmonitor.key
34+
# optional if you set a password
35+
export TAURI_SIGNING_PRIVATE_KEY_PASSWORD=""
36+
```
2837

2938
```bash
3039
npm install
@@ -98,17 +107,6 @@ xcrun stapler staple \
98107
src-tauri/target/release/bundle/macos/CodexMonitor.app
99108
```
100109

101-
## Build With Updater Signing
102-
103-
The updater requires signing artifacts during the build. Export the private key
104-
before `tauri build`:
105-
106-
```bash
107-
export TAURI_SIGNING_PRIVATE_KEY=~/.tauri/codexmonitor.key
108-
# optional if you set a password
109-
export TAURI_SIGNING_PRIVATE_KEY_PASSWORD=""
110-
```
111-
112110
## Package Release Artifacts
113111

114112
Note: Tauri's DMG bundling can fail if the generated `bundle_dmg.sh` script
@@ -131,6 +129,21 @@ hdiutil create -volname "CodexMonitor" \
131129
release-artifacts/CodexMonitor_<RELEASE_VERSION>_aarch64.dmg
132130
```
133131

132+
## Rebuild Updater Bundle (After Stapling)
133+
134+
After stapling, rebuild the updater tarball and re-sign it so the signature
135+
matches the stapled app:
136+
137+
```bash
138+
tar -czf src-tauri/target/release/bundle/macos/CodexMonitor.app.tar.gz \
139+
-C src-tauri/target/release/bundle/macos CodexMonitor.app
140+
141+
npm run tauri signer sign -- \
142+
-f ~/.tauri/codexmonitor.key \
143+
-p "<PASSWORD_IF_SET>" \
144+
src-tauri/target/release/bundle/macos/CodexMonitor.app.tar.gz
145+
```
146+
134147
## Generate Changelog (from git log)
135148

136149
Create release notes from the tag range using plain git log:
@@ -171,7 +184,7 @@ the released artifacts + signatures.
171184
"pub_date": "2025-01-01T12:00:00Z",
172185
"platforms": {
173186
"darwin-aarch64": {
174-
"url": "https://github.com/Dimillian/CodexMonitor/releases/download/v<RELEASE_VERSION>/CodexMonitor_<RELEASE_VERSION>_aarch64.dmg",
187+
"url": "https://github.com/Dimillian/CodexMonitor/releases/download/v<RELEASE_VERSION>/CodexMonitor.app.tar.gz",
175188
"signature": "<BASE64_SIGNATURE>"
176189
}
177190
}
@@ -183,7 +196,10 @@ the bundles. Upload both the `.sig` files and `latest.json` to the same release:
183196

184197
```bash
185198
gh release upload v<RELEASE_VERSION> \
186-
src-tauri/target/release/bundle/macos/*.sig \
199+
release-artifacts/CodexMonitor.zip \
200+
release-artifacts/CodexMonitor_<RELEASE_VERSION>_aarch64.dmg \
201+
src-tauri/target/release/bundle/macos/CodexMonitor.app.tar.gz \
202+
src-tauri/target/release/bundle/macos/CodexMonitor.app.tar.gz.sig \
187203
latest.json \
188204
--clobber
189205
```

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "codex-monitor",
33
"private": true,
4-
"version": "0.4.0",
4+
"version": "0.4.1",
55
"type": "module",
66
"scripts": {
77
"dev": "vite",

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "CodexMonitor",
4-
"version": "0.4.0",
4+
"version": "0.4.1",
55
"identifier": "com.dimillian.codexmonitor",
66
"build": {
77
"beforeDevCommand": "npm run dev",

0 commit comments

Comments
 (0)