This repository was archived by the owner on Aug 17, 2026. It is now read-only.
Repository navigation
ci(grunt): release workflow on tag push (v*-grunt.*) - #4
Merged
Merged
Conversation
…ries) Adds .github/workflows/grunt-release.yml. Triggered by push of a tag matching v*-grunt.* OR workflow_dispatch. Builds gruntcode binaries for macOS arm64/x64 + Linux x64/arm64 by: 1. Checking out the tagged ref 2. setup-bun via the existing composite action 3. bun install --frozen-lockfile 4. bun script/build.ts --single --skip-embed-web-ui (leverages upstream build script as-is; --single = current host's target only; --skip-embed-web-ui = drop the embedded web UI to cut binary size and build time since gruntcode is TUI-focused) 5. Rename produced opencode binary → gruntcode 6. tar + sha256 + upload to GH release via softprops/action-gh-release Gated to grunt-it/gruntcode repo so a rebase that pulls upstream workflows can't accidentally fire ours. Also updates GRUNTCODE.md to document the release tag scheme (vX.Y.Z-grunt.N) and the workflow trigger. Refs hivemind anomalyco#222 Phase 4 distribution.
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
terrxo
added a commit
that referenced
this pull request
May 28, 2026
…ries) (#4) Adds .github/workflows/grunt-release.yml. Triggered by push of a tag matching v*-grunt.* OR workflow_dispatch. Builds gruntcode binaries for macOS arm64/x64 + Linux x64/arm64 by: 1. Checking out the tagged ref 2. setup-bun via the existing composite action 3. bun install --frozen-lockfile 4. bun script/build.ts --single --skip-embed-web-ui (leverages upstream build script as-is; --single = current host's target only; --skip-embed-web-ui = drop the embedded web UI to cut binary size and build time since gruntcode is TUI-focused) 5. Rename produced opencode binary → gruntcode 6. tar + sha256 + upload to GH release via softprops/action-gh-release Gated to grunt-it/gruntcode repo so a rebase that pulls upstream workflows can't accidentally fire ours. Also updates GRUNTCODE.md to document the release tag scheme (vX.Y.Z-grunt.N) and the workflow trigger. Refs hivemind anomalyco#222 Phase 4 distribution.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 4 distribution of hivemind anomalyco#222
Adds
.github/workflows/grunt-release.yml. Triggered by:v*-grunt.*(e.g.v1.15.10-grunt.1)Builds gruntcode binaries on:
Each runner:
./.github/actions/setup-buncomposite actionbun install --frozen-lockfilebun script/build.ts --single --skip-embed-web-ui— leverages upstream's build script directly;--singlebuilds only for the current host's platform/arch (one build per matrix row);--skip-embed-web-uicuts binary size + build time since gruntcode is TUI-focusedopencodebinary →gruntcodeGated to grunt-it/gruntcode
if: github.repository == 'grunt-it/gruntcode'ensures a rebase that pulls upstream workflows can't accidentally fire ours.Out of scope
Next step
After this merges, I'll push the first tag
v1.15.10-grunt.1(where 1.15.10 is the upstream version we last rebased on per bun.lock and 1 is our patch series revision — currently 3 commits: identity doc + patch 2c SSE fix + patch 2a peer-id flag). Then update the homebrew tap formula to point at the produced tarball.