Skip to content

Commit c1eb3dc

Browse files
committed
Add explicit mention of non-darwin platforms in release-assets-config.json.
1 parent cbdd1d9 commit c1eb3dc

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

.github/assets/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# GitHub Assets
2+
3+
This directory contains configuration files used in the release and CI/CD workflows.
4+
5+
## Files
6+
7+
### `release-assets-config.json`
8+
9+
Configuration file that defines the release asset matrix for the runbooks binary. It specifies:
10+
11+
- **Platforms**: The target OS/architecture combinations, including which ones require code signing.
12+
13+
- **Archive Formats**: The compression formats used for distribution (e.g. `zip`, `tar.gz`)
14+
15+
- **Additional Files**: Extra files included in releases (e.g., `SHA256SUMS` for checksum verification)
16+
17+
> **Note:** As of Dec 1, 20225, this config is only consumed by the macOS signing workflow (`sign-macos.yml`) to determine which binaries need signing. The build matrix in `release.yml` is maintained separately.
18+
19+
### `.gon_xxx.hcl`
20+
21+
[Gon](https://github.com/mitchellh/gon) configuration file for signing and notarizing the **macOS ARM64** (Apple Silicon) binary. Gon is a tool that automates the Apple code signing and notarization process required for distributing macOS binaries outside the App Store.
22+
23+
## Related
24+
25+
The [lib-release-config.sh](/.github/scripts/release/lib-release-config.sh) script consumes the `release-assets-config.json` file.

.github/assets/release-assets-config.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,36 @@
1111
"arch": "arm64",
1212
"binary": "runbooks_darwin_arm64",
1313
"signed": true
14+
},
15+
{
16+
"os": "linux",
17+
"arch": "386",
18+
"signed": false,
19+
"binary": "runbooks_linux_386"
20+
},
21+
{
22+
"os": "linux",
23+
"arch": "amd64",
24+
"signed": false,
25+
"binary": "runbooks_linux_amd64"
26+
},
27+
{
28+
"os": "linux",
29+
"arch": "arm64",
30+
"signed": false,
31+
"binary": "runbooks_linux_arm64"
32+
},
33+
{
34+
"os": "windows",
35+
"arch": "386",
36+
"signed": false,
37+
"binary": "runbooks_windows_386.exe"
38+
},
39+
{
40+
"os": "windows",
41+
"arch": "amd64",
42+
"signed": false,
43+
"binary": "runbooks_windows_amd64.exe"
1444
}
1545
],
1646
"archive_formats": [

0 commit comments

Comments
 (0)