Skip to content

Commit d1ee684

Browse files
committed
Trigger cibuildwheel on tag
1 parent e10edd9 commit d1ee684

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/cibuildwheel.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: Build
22

33
on:
44
push:
5-
branches: [main]
6-
pull_request:
7-
branches: ["*"]
5+
tags:
6+
# ytf did they invent their own syntax that's almost regex?
7+
# ** matches 'zero or more of any character'
8+
- 'release-v[0-9]+.[0-9]+.[0-9]+**'
9+
- 'prerelease-v[0-9]+.[0-9]+.[0-9]+**'
810
workflow_dispatch: # allows you to trigger manually
911

1012
jobs:

0 commit comments

Comments
 (0)