Skip to content

ci: publish archunit automatically from main - #95

Merged
LukasNiessen merged 1 commit into
mainfrom
chore/issue-44-automatic-crates-publishing
Sep 20, 2026
Merged

LukasNiessen merged 1 commit into
mainfrom
chore/issue-44-automatic-crates-publishing

Conversation

@LukasNiessen

Copy link
Copy Markdown
Collaborator

Main-branch changes currently cannot publish archunit without a manual release and separate trusted-publisher setup. This change runs the full CI matrix before publishing to crates.io with the encrypted repository secret, automatically advances patch versions, and verifies an exact-version registry consumer before creating a tag and GitHub release.

Release metadata is committed back to main without force pushing. Retries recover the same metadata commit and compare the registry archive's source SHA to avoid publishing an accepted version twice. Product changes still use PRs; automated version metadata is the documented exception.

Validation: actionlint passed; 9 Python release tests passed, including a real Git partial-release recovery scenario; all 5 Rust release-workflow tests passed; formatting and whitespace checks passed. The PR CI provides the full cross-platform, MSRV, Clippy, documentation, and packaging gates.

Refs #44.

@LukasNiessen
LukasNiessen merged commit 6305811 into main Sep 20, 2026
12 checks passed
@LukasNiessen
LukasNiessen deleted the chore/issue-44-automatic-crates-publishing branch September 20, 2026 13:15
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