diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index c31c7ffb6..923fc6409 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -72,7 +72,7 @@ jobs: pip install -r build_tools/build_requirements.txt && pip install -r requirements.txt CIBW_BUILD: "${{ env.PYTHON_EXECUTABLE }}-*" - CIBW_ENVIRONMENT: CC=gcc + CIBW_ENVIRONMENT: CC=gcc GITHUB_REF=${{ env.GITHUB_REF }} CIBW_ENVIRONMENT_MACOS: PMD_MPL_BACKEND=TkAgg PYTHON_CROSSENV=true # No support for pypy or musl CIBW_SKIP: "pp* *-musllinux_*" diff --git a/build_tools/get_tag.py b/build_tools/get_tag.py index da8602ad1..a5c28c03f 100644 --- a/build_tools/get_tag.py +++ b/build_tools/get_tag.py @@ -30,5 +30,6 @@ def get_version_from_tag(tag): # Local or non-tagged commit. setuptools requires a VERSION file, so just write a default one else: + print("Not a tagged commit or not on CI. Using default tag") with open(OUT_FILE, 'w') as f: f.write(DEFAULT_TAG)