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

Prepare to release v0.3.2 #3

Merged
merged 15 commits into from
Dec 14, 2024
Merged

Prepare to release v0.3.2 #3

merged 15 commits into from
Dec 14, 2024

Conversation

jssblck
Copy link
Member

@jssblck jssblck commented Dec 13, 2024

Overview

Prepares to release the version specified in the title.
Once all checks pass, the release should be good to go.

Release steps

# Choose a version. It should be valid semver.
# Also, choose a branch name. A good default is `prep/$VERSION`.
VERSION=<VERSION>
BRANCH="prep/$VERSION"

# Make a branch for release prep and check it out.
git checkout -b $BRANCH

# Have cargo-release create the release.
# This does several things:
# - Validates that the git index is clean
# - Updates version numbers in the crates
# - Generates the changelog using `git-cliff`
# - Creates a commit with the changes
# - Pushes the branch to the remote
cargo release --no-publish --no-tag --allow-branch=$BRANCH $VERSION

# Open a PR; once tests pass and reviewers approve, merge to main and come back here for the final step.
# NOTE: We are here; this PR was created by this step.
gh pr create --base main --template release_template --title "Prepare to release $VERSION"

# Finally, run `cargo release` on the main branch.
# This doesn't create new commits; it just tags the commit and pushes the tag.
git checkout main
git pull
cargo release

@jssblck jssblck requested a review from a team as a code owner December 13, 2024 23:59
@jssblck jssblck requested a review from csasarak December 13, 2024 23:59
@jssblck jssblck merged commit d1c7931 into main Dec 14, 2024
11 checks passed
@jssblck jssblck deleted the fix/dist-binary branch December 14, 2024 00:39
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