Skip to content

Commit da4fff2

Browse files
committed
Fixes the tag regex for codeship
1 parent e08ad79 commit da4fff2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

codeship-steps.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
name: check_pyversion
1616
- command: ./scripts/deploy.sh
1717
name: pypi_deploy
18-
# tests for semantic versions
19-
tag: '^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(\.(0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*)?(\+[0-9a-zA-Z-]+(\.[0-9a-zA-Z-]+)*)?$'
18+
# tests for (a subset of) PEP440 versions
19+
tag: '^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)((a|rc|b)(0|[1-9]\d*))?$'
2020

2121

0 commit comments

Comments
 (0)