Skip to content

Commit

Permalink
Clarify release workflow steps in CONTRIB guide (#9232)
Browse files Browse the repository at this point in the history
We always recommend providing the SHA and since
#7279 it does not need to be the
latest commit on `main`.
  • Loading branch information
zanieb authored Dec 21, 2023
1 parent 0263f27 commit 3c2b800
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,9 @@ We use an experimental in-house tool for managing releases.
1. Highlight any breaking changes in `BREAKING_CHANGES.md`
1. Create a pull request with the changelog and version updates
1. Merge the PR
1. Run the release workflow with the version number (without starting `v`) as input. Make sure
main has your merged PR as last commit
1. Run the [release workflow](https://github.com/astral-sh/ruff/actions/workflows/release.yaml) with:
- The new version number (without starting `v`)
- The commit hash of the merged release pull request on `main`
1. The release workflow will do the following:
1. Build all the assets. If this fails (even though we tested in step 4), we haven't tagged or
uploaded anything, you can restart after pushing a fix.
Expand Down

0 comments on commit 3c2b800

Please sign in to comment.