Skip to content

chore: switch to release-please + fix broken release workflow#22

Merged
StuBehan merged 1 commit into
StackOneHQ:mainfrom
StuBehan:chore/release-please-and-fix-release-workflow
Apr 30, 2026
Merged

chore: switch to release-please + fix broken release workflow#22
StuBehan merged 1 commit into
StackOneHQ:mainfrom
StuBehan:chore/release-please-and-fix-release-workflow

Conversation

@StuBehan

Copy link
Copy Markdown
Collaborator

The existing release.yml referenced notifier/*.swift which were deleted in the single-binary refactor, and auto-tag.yml read CFBundleShortVersionString from notifier/Info.plist (now panel/Info.plist). Both have been silently broken since refactor/single-binary merged.

This commit replaces them with a release-please-driven flow:

  • release-please.yml watches conventional commits on main, opens a Release PR that bumps .release-please-manifest.json + regenerates CHANGELOG.md. Merging that PR creates the tag and GitHub Release.
  • release.yml triggers on the tag, builds arm64 + x86_64 sequentially via build.sh's existing -target flag, lipos into a universal binary, re-signs (lipo invalidates the per-arch ad-hoc sigs), stamps the version from the tag into Info.plist, and packages a self-contained tarball.
  • The tarball includes the prebuilt bundle plus notify.sh / phrases / install.sh / uninstall.sh / notify.conf.example so users who download a release don't need swiftc.
  • install.sh now skips the swiftc rebuild when build/stack-nudge.app is already present, so the release-tarball install path runs in seconds instead of building from source on the user's machine.
  • auto-tag.yml is removed; release-please handles tagging now.

Bootstrap manifest version is 1.1.2 to match the latest tag and the current Info.plist.

End-to-end verified locally: tarball extracts, prebuilt-detection finds the bundle, the resulting mach-o is a valid arm64 executable, and shellcheck still passes on the extracted install.sh.

Summary

Changes

Testing

Related issues

The existing release.yml referenced notifier/*.swift which were deleted in
the single-binary refactor, and auto-tag.yml read CFBundleShortVersionString
from notifier/Info.plist (now panel/Info.plist). Both have been silently
broken since refactor/single-binary merged.

This commit replaces them with a release-please-driven flow:

- release-please.yml watches conventional commits on main, opens a Release
  PR that bumps .release-please-manifest.json + regenerates CHANGELOG.md.
  Merging that PR creates the tag and GitHub Release.
- release.yml triggers on the tag, builds arm64 + x86_64 sequentially via
  build.sh's existing -target flag, lipos into a universal binary,
  re-signs (lipo invalidates the per-arch ad-hoc sigs), stamps the version
  from the tag into Info.plist, and packages a self-contained tarball.
- The tarball includes the prebuilt bundle plus notify.sh / phrases /
  install.sh / uninstall.sh / notify.conf.example so users who download
  a release don't need swiftc.
- install.sh now skips the swiftc rebuild when build/stack-nudge.app is
  already present, so the release-tarball install path runs in seconds
  instead of building from source on the user's machine.
- auto-tag.yml is removed; release-please handles tagging now.

Bootstrap manifest version is 1.1.2 to match the latest tag and the
current Info.plist.

End-to-end verified locally: tarball extracts, prebuilt-detection finds
the bundle, the resulting mach-o is a valid arm64 executable, and
shellcheck still passes on the extracted install.sh.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@StuBehan StuBehan merged commit b0f2e1e into StackOneHQ:main Apr 30, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant