Skip to content

Commit

Permalink
Update release docs to work around file watcher race condition. (pant…
Browse files Browse the repository at this point in the history
…sbuild#21081)

The start_release.py script modifies workspace files, 
and so will race with the file watcher to complete before 
being killed and restarted. And since the process is not
idempotent (e.g., it creates a local git branch) that restarted
process can fail.
  • Loading branch information
benjyw authored Jun 18, 2024
1 parent 553bb2c commit d50f9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/contributions/releases/release-process.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ The release commit is the commit that bumps the VERSION string. For `dev`/`a0` r

### Bump the VERSION

From the `main` branch, run `pants run src/python/pants_release/start_release.py -- --new 2.9.0.dev1 --release-manager your_github_username --publish` with the relevant version and your own GitHub username.
From the `main` branch, run `pants --no-watch-filesystem --no-pantsd run src/python/pants_release/start_release.py -- --new 2.99.0.dev1 --release-manager your_github_username --publish` with the relevant version and your own GitHub username.

This will create a pull request that:

Expand Down

0 comments on commit d50f9d5

Please sign in to comment.