Expose project scripts and launch after building

This commit is contained in:
Mark Gregory
2026-11-16 13:22:55 +00:00
parent 2238df4631
commit 87cdc990c3
8 changed files with 94 additions and 76 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
## Local package
Run `./Tests/test.sh`, then `./Sources/release.sh` from the project directory. The release script builds the arm64 Release configuration, checks the app's code signature, and creates `AIStudio-<version>-macOS-arm64.zip` in the temporary build directory’s `dist` folder with a SHA-256 checksum alongside it. Pass an output directory as the first argument to override `dist`. The default package is ad-hoc signed for local verification.
Run `./test.sh`, then `./release.sh` from the project directory. The release script builds the arm64 Release configuration, checks the app's code signature, and creates `AIStudio-<version>-macOS-arm64.zip` in the temporary build directory’s `dist` folder with a SHA-256 checksum alongside it. Pass an output directory as the first argument to override `dist`. The default package is ad-hoc signed for local verification.
The scripts keep build products, Swift package checkouts and test results under the OS temporary directory. Set `AISTUDIO_BUILD_ROOT` to reuse a specific temporary build directory across runs. Set `MARKETING_VERSION` and `CURRENT_PROJECT_VERSION` in the Xcode target before packaging a new version.
@@ -13,7 +13,7 @@ Install a Developer ID Application certificate and store credentials for Apple's
```sh
SIGN_IDENTITY='Developer ID Application: Example (TEAMID)' \
NOTARY_PROFILE='example-notary-profile' \
./Sources/release.sh
./release.sh
```
The script signs with the hardened runtime and a timestamp, submits to the notary service, staples and validates the ticket, and produces the final ZIP and checksum. Verify the files before distribution.