Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamline our release process #2517

Merged
merged 13 commits into from
Jan 29, 2025
Merged

Streamline our release process #2517

merged 13 commits into from
Jan 29, 2025

Conversation

t00ts
Copy link
Contributor

@t00ts t00ts commented Jan 27, 2025

This PR adds automation for our release process and crates.io publishing workflow.

Just Command

Added a simple release command that automates all tedious release prep:

  • Version format validation
  • CHANGELOG updates
  • Workspace version updates
  • Dependency version updates for publishable crates
  • Git branch, release commit and tag creation
  • User confirmation before pushing changes

Usage: just release X.Y.Z

CI pipeline updates

  1. Dry run cargo publish before creating draft release.
  2. Introduce publish-crates CI job to be linked to manual release publication.

Closes #2509

@t00ts t00ts requested a review from a team as a code owner January 27, 2025 12:21
justfile Show resolved Hide resolved
crates/serde/Cargo.toml Show resolved Hide resolved
justfile Show resolved Hide resolved
scripts/release.sh Show resolved Hide resolved
Copy link
Contributor

@kkovaacs kkovaacs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I have a question and a suggestion though.

scripts/release.sh Outdated Show resolved Hide resolved
scripts/release.sh Outdated Show resolved Hide resolved
@t00ts t00ts force-pushed the t00ts/release-automation branch from 34cd490 to dafb304 Compare January 29, 2025 08:53
@t00ts t00ts merged commit e8ba364 into main Jan 29, 2025
8 checks passed
@t00ts t00ts deleted the t00ts/release-automation branch January 29, 2025 09: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.

Add public crate publishing to our CI pipeline
3 participants