Skip to content

Claude/release fixes#949

Open
xgitqa wants to merge 10 commits into
matryer:mainfrom
xgitqa:claude/release-fixes
Open

Claude/release fixes#949
xgitqa wants to merge 10 commits into
matryer:mainfrom
xgitqa:claude/release-fixes

Conversation

@xgitqa

@xgitqa xgitqa commented Jun 2, 2026

Copy link
Copy Markdown

No description provided.

claude and others added 10 commits June 2, 2026 12:20
- Add .github/workflows/build-macos.yml: three-job CI workflow that builds
  arm64 on macos-14 (M1) and amd64 on macos-13 (Intel) in parallel, then
  combines them into a universal binary via `lipo`. Output is an unsigned
  universal .app bundle zipped as an Actions artifact.
- Update app/build.sh to auto-detect host arch and set the correct
  CGO_LDFLAGS minimum macOS version (11.0 for arm64, 10.13 for amd64).
- Untrack app/.version from .gitignore and commit a 'dev' placeholder so
  the `//go:embed .version` directive in main.go works without running
  build.sh first.

https://claude.ai/code/session_01G7j2aLeEq2UnA2oNMzg7ra
Add macOS universal binary build workflow and improve build scripts
The workflow merged via PR #1 was missing three critical fixes:

1. Remove GOARCH env var from build steps -- setting GOARCH=arm64 as an
   env var on the native arm64 runner breaks CGO (cross-compile mode).
   Each runner auto-detects its own arch.

2. Add -production flag to wails build -- Wails alpha.74 debug mode
   passes -gcflags with literal surrounding quotes, which Go 1.21+
   rejects. -production skips debug gcflags entirely.

3. Add GitHub Release creation step -- the merged workflow only uploaded
   a zip artifact but never called 'gh release create'. Tags now produce
   an actual GitHub Release with the universal zip attached.

Also: test job gating both builds, entitlements.plist for code signing,
auto-update endpoint pointing at xgitqa/xbar, TestForReals guarded with
testing.Short() to skip live network calls in CI.

https://claude.ai/code/session_01G7j2aLeEq2UnA2oNMzg7ra
workflow_dispatch now has a create_release=true option.
To release without command line:
  Actions > Run workflow > version=v2.1.8, create_release=true > Run

The package job will build both arches, lipo them, create a git tag,
and publish a GitHub Release with the zip attached -- all automatically.

https://claude.ai/code/session_01G7j2aLeEq2UnA2oNMzg7ra
* ci: fix build-breaking bugs in merged workflow, add release pipeline

The workflow merged via PR #1 was missing three critical fixes:

1. Remove GOARCH env var from build steps -- setting GOARCH=arm64 as an
   env var on the native arm64 runner breaks CGO (cross-compile mode).
   Each runner auto-detects its own arch.

2. Add -production flag to wails build -- Wails alpha.74 debug mode
   passes -gcflags with literal surrounding quotes, which Go 1.21+
   rejects. -production skips debug gcflags entirely.

3. Add GitHub Release creation step -- the merged workflow only uploaded
   a zip artifact but never called 'gh release create'. Tags now produce
   an actual GitHub Release with the universal zip attached.

Also: test job gating both builds, entitlements.plist for code signing,
auto-update endpoint pointing at xgitqa/xbar, TestForReals guarded with
testing.Short() to skip live network calls in CI.

https://claude.ai/code/session_01G7j2aLeEq2UnA2oNMzg7ra

* ci: add one-click release via workflow_dispatch

workflow_dispatch now has a create_release=true option.
To release without command line:
  Actions > Run workflow > version=v2.1.8, create_release=true > Run

The package job will build both arches, lipo them, create a git tag,
and publish a GitHub Release with the zip attached -- all automatically.

https://claude.ai/code/session_01G7j2aLeEq2UnA2oNMzg7ra

---------

Co-authored-by: Claude <noreply@anthropic.com>
Explain why this fork exists (Rosetta 2 removal), add download link
pointing at xgitqa/xbar releases, add comparison table vs upstream,
and clarify Gatekeeper bypass for unsigned builds.

https://claude.ai/code/session_01G7j2aLeEq2UnA2oNMzg7ra
* ci: fix build-breaking bugs in merged workflow, add release pipeline

The workflow merged via PR #1 was missing three critical fixes:

1. Remove GOARCH env var from build steps -- setting GOARCH=arm64 as an
   env var on the native arm64 runner breaks CGO (cross-compile mode).
   Each runner auto-detects its own arch.

2. Add -production flag to wails build -- Wails alpha.74 debug mode
   passes -gcflags with literal surrounding quotes, which Go 1.21+
   rejects. -production skips debug gcflags entirely.

3. Add GitHub Release creation step -- the merged workflow only uploaded
   a zip artifact but never called 'gh release create'. Tags now produce
   an actual GitHub Release with the universal zip attached.

Also: test job gating both builds, entitlements.plist for code signing,
auto-update endpoint pointing at xgitqa/xbar, TestForReals guarded with
testing.Short() to skip live network calls in CI.

https://claude.ai/code/session_01G7j2aLeEq2UnA2oNMzg7ra

* ci: add one-click release via workflow_dispatch

workflow_dispatch now has a create_release=true option.
To release without command line:
  Actions > Run workflow > version=v2.1.8, create_release=true > Run

The package job will build both arches, lipo them, create a git tag,
and publish a GitHub Release with the zip attached -- all automatically.

https://claude.ai/code/session_01G7j2aLeEq2UnA2oNMzg7ra

* docs: update README for Apple Silicon fork

Explain why this fork exists (Rosetta 2 removal), add download link
pointing at xgitqa/xbar releases, add comparison table vs upstream,
and clarify Gatekeeper bypass for unsigned builds.

https://claude.ai/code/session_01G7j2aLeEq2UnA2oNMzg7ra

---------

Co-authored-by: Claude <noreply@anthropic.com>
TestRun and TestEnvironmentVariables fail under -race due to concurrent
writes in plugin.go's Run/cycle methods -- upstream bugs not introduced
here. Keep -race on pkg/metadata and pkg/update which are clean.

https://claude.ai/code/session_01G7j2aLeEq2UnA2oNMzg7ra
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.

2 participants