Skip to content

Add automated release workflow on main merge#23

Merged
erishforG merged 1 commit intodevelopfrom
chore/auto-release
Apr 15, 2026
Merged

Add automated release workflow on main merge#23
erishforG merged 1 commit intodevelopfrom
chore/auto-release

Conversation

@erishforG
Copy link
Copy Markdown
Owner

Summary

  • Add .github/workflows/release.yml that runs on push to main
  • Automatically: create git tag → publish to crates.io → create GitHub Release
  • Skips if tag already exists (idempotent, safe for re-runs)
  • CARGO_REGISTRY_TOKEN secret has been configured

Flow

feature → PR → develop → PR → main → auto: tag + crates.io + GitHub Release

Test plan

  • Workflow syntax validated
  • CARGO_REGISTRY_TOKEN secret set in repo
  • Existing tags (v0.1.0–v0.2.2) won't trigger duplicate releases

When a PR is merged to main with a new version in Cargo.toml:
- Creates a git tag (vX.Y.Z)
- Publishes to crates.io
- Creates a GitHub Release with auto-generated notes

Skips if the tag already exists (idempotent).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erishforG erishforG merged commit 6010c54 into develop Apr 15, 2026
7 checks passed
@erishforG erishforG deleted the chore/auto-release branch April 16, 2026 07:25
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