Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,28 @@ name: Build

on:
push:
tags:
# ytf did they invent their own syntax that's almost regex?
# ** matches 'zero or more of any character'
- 'release-v[0-9]+.[0-9]+.[0-9]+**'
- 'prerelease-v[0-9]+.[0-9]+.[0-9]+**'
branches: [main, v8.3.x]
pull_request:
branches: ["*"]
workflow_dispatch: # allows you to trigger manually

# When this workflow is queued, automatically cancel any previous running
# or pending jobs from the same branch
concurrency:
group: cidbuildwheel-${{ github.ref }}
cancel-in-progress: true

jobs:
build_wheels:
uses: explosion/gha-cibuildwheel/.github/workflows/cibuildwheel.yml@main
uses: crusaderky/gha-cibuildwheel/.github/workflows/cibuildwheel.yml@nightly
permissions:
contents: write
actions: read
with:
wheel-name-pattern: "thinc-*.whl"
pure-python: false
create-release: ${{ startsWith(github.ref, 'refs/tags/release-') || startsWith(github.ref, 'refs/tags/prerelease-') }}
nightly-upload: ${{ github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/v8.3.x' }}
secrets:
gh-token: ${{ secrets.GITHUB_TOKEN }}

anaconda_nightly_upload_token: ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }}
4 changes: 2 additions & 2 deletions .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# The cibuildwheel action triggers on creation of a release, this
# triggers on publication.
# The cibuildwheel action triggers on all pushes and PRs;
# this action triggers on release publication.
# The expected workflow is to create a draft release and let the wheels
# upload, and then hit 'publish', which uploads to PyPi.

Expand Down
4 changes: 2 additions & 2 deletions thinc/about.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "8.3.10"
__release__ = True
__version__ = "8.3.11.dev0"
__release__ = False