Skip to content

Commit

Permalink
Improve automatic versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
isaksamsten committed Jan 30, 2024
1 parent 2f4e474 commit 4df9f76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build-deploy-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ on:
- 1.2.X

tags:
- v*
- 'v[0-9]+.[0-9]+.[0-9]+'
- 'v*.*.*beta[0-9]'
- 'v*.*.*alpha[0-9]'
- 'v*.*.*beta[0-9]'

pull_request:
types: [opened, reopened]
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ datasets = [

[tool.setuptools_scm]
write_to = "src/wildboar/version.py"
version_scheme = "release-branch-semver"

[tool.setuptools.dynamic]
version = { attr = "wildboar.__version__" }
Expand Down

0 comments on commit 4df9f76

Please sign in to comment.