From 7663653efe6f751a31d06681c3100382b5e567b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20BRIOL?= Date: Thu, 28 Sep 2023 23:12:58 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Setuptools=20SCM=20is=20unable?= =?UTF-8?q?=20to=20detect=20the=20version.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ca402a6..1f1e473 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,7 +36,10 @@ jobs: - name: Run Tests shell: bash -l {0} run: | - SETUPTOOLS_SCM_DEBUG=1 python -m setuptools_scm + python -m setuptools_scm + if [[ ! -e zcollection/version.py ]]; then + echo "__version__ = '$(git describe --tags --always)'" > zcollection/version.py + fi pytest -v -ra --processes s3-fs: