You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+17-16Lines changed: 17 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,38 +123,39 @@ async function createRelease() {
123
123
124
124
## Manifest Format
125
125
126
-
The manifest is output as JSON with embedded minisign signatures:
126
+
The manifest is output as JSON with a nested artifacts structure, organized by artifact type (zip/dmg) and architecture:
127
127
128
128
```json
129
129
{
130
130
"version": "1.2.3",
131
131
"schemaVersion": 1,
132
132
"releaseDate": "2024-03-20T10:00:00.000Z",
133
133
"expires": "2099-12-31T23:59:59Z",
134
-
"files": [
135
-
{
136
-
"path": "MyApp-1.2.3-arm64.zip",
137
-
"sha512": "abcdef1234567890...",
138
-
"size": 123456789,
139
-
"arch": "arm64",
140
-
"minisig": "untrusted comment: signature from minisign secret key\n..."
141
-
},
142
-
{
143
-
"path": "MyApp-1.2.3-x64.zip",
144
-
"sha512": "0987654321fedcba...",
145
-
"size": 123456789,
146
-
"arch": "x64",
147
-
"minisig": "untrusted comment: signature from minisign secret key\n..."
134
+
"artifacts": {
135
+
"zip": {
136
+
"arm64": {
137
+
"path": "MyApp-1.2.3-arm64.zip",
138
+
"sha512": "abcdef1234567890...",
139
+
"size": 123456789
140
+
},
141
+
"x64": {
142
+
"path": "MyApp-1.2.3-x64.zip",
143
+
"sha512": "0987654321fedcba...",
144
+
"size": 123456789
145
+
}
148
146
}
149
-
],
147
+
},
150
148
"releaseNotes": "What's new in this release:\n- Feature A\n- Bug fix B"
151
149
}
152
150
```
153
151
152
+
Signatures are stored as external `.minisig` files alongside each artifact (e.g., `MyApp-1.2.3-arm64.zip.minisig`).
153
+
154
154
**Important:**
155
155
156
156
-**Version** is automatically extracted from the filename (e.g., `MyApp-1.2.3-arm64.zip` → `1.2.3`). This includes prerelease tags like `1.2.3-beta.1`. Use `--app-version` only if you need to override the detected version.
157
157
-**Architecture** must be detectable from the filename. Include one of: `arm64`, `aarch64`, `x64`, `x86_64`, `amd64`, `x86`, `ia32`, `i386`, or `universal`.
158
+
-**Artifact type** is determined by the file extension. Supported types: `.zip`, `.dmg`.
0 commit comments