ci: change version format because pypi won't allow local versions
Some checks failed
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline failed

This commit is contained in:
Elara 2024-04-16 10:30:06 -07:00
parent 5e04c480bd
commit 4367c2274d

View File

@ -16,6 +16,7 @@ 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: