Skip to content

Commit

Permalink
doc(release): update suggested release PR name
Browse files Browse the repository at this point in the history
  • Loading branch information
jssblck committed Dec 14, 2024
1 parent 1f520a5 commit ee288a0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .github/release_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,13 @@ git checkout -b $BRANCH
# - 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 --body-file .github/release_template.md --title "Prepare to release $VERSION"
# After the PR is merged, perform the final step below.
#
# Open a PR; once tests pass and reviewers approve, merge to main and come back here for the final step.
# The PR title should be "chore(release): $VERSION" or something that similarly avoids generating a changelog entry;
# see the `cliff.toml` file for more details.
gh pr create --base main --body-file .github/release_template.md --title "chore(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.
Expand Down
5 changes: 3 additions & 2 deletions docs/dev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ git checkout -b $BRANCH
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 --body-file .github/release_template.md --title "Prepare to release $VERSION"
# The PR title should be "chore(release): $VERSION" or something that similarly avoids generating a changelog entry;
# see the `cliff.toml` file for more details.
gh pr create --base main --body-file .github/release_template.md --title "chore(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.
Expand Down

0 comments on commit ee288a0

Please sign in to comment.