Skip to content

Commit 829441f

Browse files
authored
fix: warning in generate schema script (#1866)
* fix: warning in generate schema script Signed-off-by: Henry Schreiner <[email protected]> * docs: add minor update to update process Signed-off-by: Henry Schreiner <[email protected]> * Update docs/contributing.md --------- Signed-off-by: Henry Schreiner <[email protected]>
1 parent a8d190a commit 829441f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

bin/generate_schema.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
- type: string
5757
pattern: '^build; ?args:'
5858
- type: string
59-
pattern: '^build\[uv\]; ?args:'
59+
pattern: '^build\\[uv\\]; ?args:'
6060
- type: object
6161
additionalProperties: false
6262
required: [name]

docs/contributing.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Then, increment the project version number using:
177177
bin/bump_version.py
178178
```
179179

180-
You'll be prompted to enter the new version number. Update the changelog when prompted. The script will create a 'bump version' commit and version tag.
180+
(or `nox -s bump_version`) You'll be prompted to enter the new version number. Update the changelog when prompted. The script will create a 'bump version' commit and version tag.
181181

182182
Finally, cut the release and push to GitHub.
183183

@@ -186,3 +186,5 @@ git push && git push --tags
186186
```
187187

188188
Then head to https://github.com/pypa/cibuildwheel/releases and create a GitHub release from the new tag, pasting in the changelog entry. Once the release is created inside GitHub, a CI job will create the assets and upload them to PyPI.
189+
190+
If there were any schema updates, run `pipx run ./bin/generate_schema.py --schemastore > partial-cibuildwheel.json` and contribute the changes to SchemaStore.

0 commit comments

Comments
 (0)