ci: disable local version in config
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
ci/woodpecker/pr/woodpecker Pipeline was successful
ci/woodpecker/pull_request_closed/woodpecker Pipeline was successful

This commit is contained in:
Elara 2024-04-16 10:39:15 -07:00
parent 4367c2274d
commit 329aa39271
2 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,6 @@ steps:
build-dev: build-dev:
image: python image: python
commands: commands:
- export SETUPTOOLS_SCM_PRETEND_VERSION="$(git describe --abbrev=0 --tags).dev$(git rev-list "$(git describe --abbrev=0 --tags)..HEAD" --count)"
- python -m pip install -r requirements-dev.txt - python -m pip install -r requirements-dev.txt
- python3 -m build - python3 -m build
when: when:

View File

@ -19,6 +19,9 @@ source = "vcs"
path = "music_kraken/_version.py" path = "music_kraken/_version.py"
fallback-version = "0.0.0" fallback-version = "0.0.0"
[tool.hatch.version.raw-options]
local_scheme = "no-local-version"
[tool.hatch.build.hooks.vcs] [tool.hatch.build.hooks.vcs]
version-file = "music_kraken/_version.py" version-file = "music_kraken/_version.py"