Skip to content

feat(release): build signed desktop editor installers and CLI binaries on release - #1260

Merged
houko merged 1 commit into
mainfrom
feat/release-editor-packages
Nov 27, 2026
Merged

houko merged 1 commit into
mainfrom
feat/release-editor-packages

Conversation

@houko

@houko houko commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds a standalone desktop entrypoint (cmd/editor) for NSGo Game Editor and upgrades .github/workflows/release.yml so every release automatically builds, signs, verifies, and publishes full desktop editor installers and prebuilt nsgo-game CLI archives using the organization's signing certificates.

  • cmd/editor: Thin desktop entrypoint (cmd/editor/main.go, cmd/editor/nsgo.yaml, cmd/editor/main_test.go) launching directly into the Editor Start Screen (stripping macOS Finder's -psn_* flag) with updates.key matching NSGO_UPDATES_KEY and release.github: nsgo-dev/game.
  • Signed desktop editor builds in .github/workflows/release.yml:
    • macOS (depot-macos-15): macos_arm64 & macos_x64 .dmg, signed with vars.MACOS_SIGNING_IDENTITY + secrets.MACOS_CERTIFICATE / MACOS_CERTIFICATE_PASSWORD, notarized & stapled via secrets.APPSTORE_API_KEY_P8 / APPSTORE_API_KEY_ID / APPSTORE_API_ISSUER_ID, and verified with codesign, xcrun stapler validate, and spctl --assess.
    • Linux (depot-ubuntu-24.04-4): linux_x64 & linux_arm64 .deb, .pkg.tar.gz, .AppImage (+ .AppImage.zsync), plus install.sh and install.ps1.
    • Windows (depot-ubuntu-24.04-4): windows_x64 & windows_arm64 -setup.exe installers.
    • Signed updates: EdDSA-signed appcast-<target>.xml + .sha256 via secrets.NSGO_UPDATES_KEY.
  • Cross-platform nsgo-game CLI archives: macos-arm64, macos-x64, linux-x64, linux-arm64, windows-x64, windows-arm64 with .sha256 checksums.
  • Backfill support (workflow_dispatch with tag input): Allows building and uploading signed editor & CLI assets onto an existing release (such as v0.1.0) via gh release upload --clobber without touching the immutable Go module tag.
  • Docs, stability tables, changelog fragment, and agent note updated.

Verification

  • go tool nsgo test ./cmd/editor
  • go tool nsgo test . -- -run 'TestStabilityTable|TestAgentSkillValid'
  • go tool nsgo check -target macos,windows,linux,android,web
  • Local go tool nsgo build -target macos,windows,linux -version 0.1.0 ./cmd/editor (verified all 6 desktop targets & installers)
  • actionlint .github/workflows/release.yml, go run ./tools/changelog check, bun run verify-notes, apps/website: bun run test (24/24)
  • Live PR run of .github/workflows/release.yml (dry-run building, signing, notarizing, and verifying all desktop packages)

@github-actions github-actions Bot added enhancement New feature or request size/L documentation Improvements or additions to documentation pkg/cmd area/ci area/agents labels Nov 27, 2026
@houko
houko merged commit c80ca42 into main Nov 27, 2026
63 checks passed
@houko
houko deleted the feat/release-editor-packages branch November 27, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/agents area/ci documentation Improvements or additions to documentation enhancement New feature or request pkg/cmd size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant