Skip to content

Point the libhegel release automation at the hegeldev/hegel monorepo - #148

Merged
DRMacIver merged 1 commit into
mainfrom
ci/libhegel-monorepo
Oct 19, 2026
Merged

DRMacIver merged 1 commit into
mainfrom
ci/libhegel-monorepo

Conversation

@DRMacIver

Copy link
Copy Markdown
Member
AI-generated description

libhegel releases moved from hegeldev/hegel-rust to the hegeldev/hegel monorepo. They are now GitHub releases tagged libhegel/<version> and titled libhegel v<version>, with the C ABI header at libhegel/include/hegel.h. The bump run triggered by libhegel 0.47.2 failed because it still fetched the header from hegeldev/hegel-rust at libhegel-v0.47.2 (https://github.com/hegeldev/hegel-cpp/actions/runs/39284065223).

This PR points every piece of the release automation at the new location:

  • .github/scripts/bump_hegel_rust.py: resolves the latest libhegel/* release of hegeldev/hegel, fetches the header and the .sha256 sidecars from there, and links the right release page in the generated RELEASE.md. Versions before 0.47.2 keep resolving to hegel-rust's libhegel-v<version> releases, so the "from" link for the current 0.42.4 pin stays correct.
  • .github/workflows/bump-hegel-rust.yml: the PR body now links libhegel v<version> on hegeldev/hegel. The repository_dispatch event type stays hegel-rust-release.
  • cmake/libhegel.cmake and nix/flake.nix: the download URL is selected by version, so the current 0.42.4 pin keeps downloading from hegel-rust and the next bump downloads from hegeldev/hegel.
  • README.md, .claude/CLAUDE.md, .claude/skills/align-libhegel/SKILL.md: updated links, tag shape and header path.

File names, branch names (ci/bump-hegel-rust-*) and CHANGELOG.md history are unchanged. No RELEASE.md: nothing under src/ or include/ changed.

Validation:

  • python3 -m py_compile .github/scripts/bump_hegel_rust.py
  • Ran the bump script against 0.47.2 in a throwaway clone: it fetched the header at libhegel/0.47.2, repinned nix/flake.nix with hashes matching the published sidecars (efdc8d4b…, 971c198e…, e311f017…) and committed on ci/bump-hegel-rust-0.47.2.
  • cmake -S . -B … -DHEGEL_LIBHEGEL_VERSION=0.47.2 downloaded and verified libhegel-darwin-arm64.dylib from hegeldev/hegel; the default (0.42.4) configure still downloads from hegel-rust.
  • nix/flake.nix was not evaluated (no nix on this machine).

🤖 Generated with Claude Code

libhegel releases are now GitHub releases of hegeldev/hegel, tagged
`libhegel/<version>` and titled `libhegel v<version>`, with the C ABI
header at `libhegel/include/hegel.h`. The bump script, the bump workflow,
cmake/libhegel.cmake and nix/flake.nix now resolve, download and verify
from there. Releases before 0.47.2 stay on hegeldev/hegel-rust under
`libhegel-v<version>` tags, so the download URL is selected by version
and the current 0.42.4 pin keeps building until the bump lands.

The repository_dispatch event type stays `hegel-rust-release`; only its
payload's tag shape changed.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@DRMacIver
DRMacIver merged commit 3a269f6 into main Oct 19, 2026
15 checks passed
@DRMacIver
DRMacIver deleted the ci/libhegel-monorepo branch October 19, 2026 17:55
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