diff --git a/bin/generate_schema.py b/bin/generate_schema.py index dee1aad35..2c90fe925 100755 --- a/bin/generate_schema.py +++ b/bin/generate_schema.py @@ -56,7 +56,7 @@ - type: string pattern: '^build; ?args:' - type: string - pattern: '^build\[uv\]; ?args:' + pattern: '^build\\[uv\\]; ?args:' - type: object additionalProperties: false required: [name] diff --git a/docs/contributing.md b/docs/contributing.md index 31333f4e4..78a29df9e 100644 --- a/docs/contributing.md +++ b/docs/contributing.md @@ -177,7 +177,7 @@ Then, increment the project version number using: bin/bump_version.py ``` -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. +(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. Finally, cut the release and push to GitHub. @@ -186,3 +186,5 @@ git push && git push --tags ``` 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. + +If there were any schema updates, run `pipx run ./bin/generate_schema.py --schemastore > partial-cibuildwheel.json` and contribute the changes to SchemaStore.