Conversation
Contributor
Greptile OverviewGreptile SummaryUpdated the
The documentation now accurately matches the Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Dev as Developer
participant Main as Main Branch
participant ReleaseBot as release-plz.yml
participant ReleasePR as Release PR
participant Crates as release-crates.yml
participant CLI as release-cli.yml
participant CratesIO as crates.io
participant GitHub as GitHub Releases
Note over Dev,Main: Changes merged to main with conventional commits
Dev->>ReleaseBot: Trigger workflow (manual or scheduled)
ReleaseBot->>Main: Analyze commits since last release per package
ReleaseBot->>ReleasePR: Create/update PR with version bumps & changelogs
Note over ReleasePR: Only packages with changes included<br/>s2-cli & s2-lite versioned together
Dev->>ReleasePR: Review changelogs
Dev->>ReleasePR: Run dry-run: cargo publish -p <package> --dry-run
Dev->>ReleasePR: Merge PR (squash)
ReleasePR->>Crates: Trigger on PR merge with 'release' label
Crates->>CratesIO: Publish changed packages to crates.io
Crates->>GitHub: Create per-package tags (s2-cli-v*, s2-api-v*, etc.)
GitHub->>CLI: Tag push triggers for s2-cli-v* or s2-lite-v*
CLI->>CLI: Build binaries for multiple platforms
CLI->>CLI: Build & push Docker images
CLI->>GitHub: Upload release artifacts
CLI->>CLI: Update Homebrew formula
|
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.
No description provided.