chore: add release process for ant binary and ant-core crate#14
Merged
jacderida merged 1 commit intoWithAutonomi:mainfrom Mar 28, 2026
Merged
Conversation
Add tag-triggered GitHub Actions workflows: - ant-core-release.yml: publishes ant-core to crates.io on `ant-core-v*` tags - ant-cli-release.yml: cross-platform build (Linux musl, macOS, Windows), DigiCert code signing, archive packaging, and GitHub release on `ant-cli-v*` tags. Tags with `-rc.*` suffix are marked as pre-releases. Add bootstrap peer configuration: - resources/bootstrap_peers.toml with production network peers - config_dir() in ant-core for platform-appropriate config paths - load_bootstrap_peers() to parse the config file at startup - CLI fallback: --bootstrap > devnet manifest > config file Add installation mechanisms: - install.sh quick-start script for Linux/macOS - resources/winget/ manifest template and update script for Windows - install-test.yml workflow (manual trigger) to test both Add CHANGELOG.md for tracking ant binary releases. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
mickvandijke
approved these changes
Mar 28, 2026
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
ant-core(crates.io) and theantbinary (cross-platform builds, DigiCert Windows code signing, GitHub releases)resources/bootstrap_peers.toml) and automatic loading from platform config directory, with--bootstrapCLI arg retaining precedenceinstall.shquick-start script (Linux/macOS), winget manifest template (Windows), and a manual-trigger workflow to test bothDetails
Workflows
ant-core-release.yml: Triggered byant-core-v*tags. Publishesant-coreto crates.io.ant-cli-release.yml: Triggered byant-cli-v*tags. Builds for 5 targets (x86_64/aarch64 Linux musl, x86_64/aarch64 macOS, x86_64 Windows), signs Windows binary with DigiCert, packages archives with bootstrap config, publishesant-core, creates GitHub release with install instructions and changelog. Tags with-rc.*are marked as pre-releases.install-test.yml: Manual trigger to test install script on Linux/macOS and validate winget manifest on Windows.Code changes
ant-core/src/config.rs: Addedconfig_dir()(Linux:~/.config/ant, macOS:~/Library/Application Support/ant, Windows:%APPDATA%\ant) andload_bootstrap_peers()to parsebootstrap_peers.tomlant-cli/src/main.rs: Bootstrap resolution fallback chain:--bootstrap> devnet manifest > config file > errorSecrets required
CARGO_REGISTRY_TOKENfor crates.io publishingSM_HOST,SM_API_KEY,SM_CLIENT_CERT_B64,SM_CLIENT_CERT_PASSWORD,SM_KEYPAIR_ALIASfor DigiCert signingTest plan
cargo check,cargo clippy,cargo fmt --checkall passant-cli-release.ymlwith an-rctag push on upstreaminstall-test.ymlmanual workflow after first releaseant-core-release.ymlpublishes correctly with a tag push🤖 Generated with Claude Code