diff --git a/.github/workflows/build-deploy-wheels.yml b/.github/workflows/build-deploy-wheels.yml index 54dcc70f65..2320e39f25 100644 --- a/.github/workflows/build-deploy-wheels.yml +++ b/.github/workflows/build-deploy-wheels.yml @@ -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] diff --git a/pyproject.toml b/pyproject.toml index 96548d1fb7..7ac1f9ee95 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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__" }