ci: disable local version in config
This commit is contained in:
parent
4367c2274d
commit
329aa39271
@ -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:
|
||||||
|
@ -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"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user