Skip to content

ci: add tag-driven release workflow#1

Merged
infinityplusone merged 1 commit into
mainfrom
ci/release-workflow
May 15, 2026
Merged

ci: add tag-driven release workflow#1
infinityplusone merged 1 commit into
mainfrom
ci/release-workflow

Conversation

@makegov-hal
Copy link
Copy Markdown

@makegov-hal makegov-hal Bot commented May 15, 2026

Summary

  • Adds .github/workflows/release.yml — fires on push of vX.Y.Z tags.
  • Runs the workspace test suite, publishes makegov-tango-webhooks then makegov-tango to crates.io, and creates a GitHub Release with auto-generated notes.

Setup checklist (do before merging)

  • Mint a crates.io API token at https://crates.io/me with publish scope on makegov-tango + makegov-tango-webhooks.
  • Add as repo secret CARGO_REGISTRY_TOKEN on makegov/tango-rust.
  • (Sibling repos use the secret name CRATES_IO_TOKEN — workflow here uses CARGO_REGISTRY_TOKEN because cargo reads that env var directly.)

Testing

  • After merge, push a throwaway v0.0.0-test tag (don't publish; delete on failure) and confirm the workflow triggers + reaches the publish step.
  • First real run: v0.1.0.

Notes

  • Publish order: makegov-tango-webhooks first (leaf), then makegov-tango (depends on transport + serde, not on webhooks).
  • Crates publish as makegov-* on crates.io but user code still imports as use tango::... / use tango_webhooks::... via a [lib] name shim — same pattern as the aws-sdk-* family.

$MAKEGOV_BOT_SIGNATURE

Fires on push of a vX.Y.Z tag:
- runs the test suite
- publishes tango-webhooks then tango to crates.io
- creates a GitHub Release with auto-generated notes

Requires the CRATES_IO_TOKEN (aka CARGO_REGISTRY_TOKEN) repo secret with
publish scope on crates.io.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@infinityplusone infinityplusone merged commit 2298a01 into main May 15, 2026
9 checks passed
@infinityplusone infinityplusone deleted the ci/release-workflow branch May 15, 2026 19:34
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