From 329aa3927189aa1cfc926e7c4ec3bef4bcb5af40 Mon Sep 17 00:00:00 2001 From: Elara6331 Date: Tue, 16 Apr 2024 10:39:15 -0700 Subject: [PATCH] ci: disable local version in config --- .woodpecker.yml | 1 - pyproject.toml | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 5f822cd..843b555 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -16,7 +16,6 @@ steps: build-dev: image: python 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 - python3 -m build when: diff --git a/pyproject.toml b/pyproject.toml index 0ce6636..5fab835 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,6 +19,9 @@ source = "vcs" path = "music_kraken/_version.py" fallback-version = "0.0.0" +[tool.hatch.version.raw-options] +local_scheme = "no-local-version" + [tool.hatch.build.hooks.vcs] version-file = "music_kraken/_version.py"