From 63dc03a41277f46ab04bf29349ebf974af11b2fd Mon Sep 17 00:00:00 2001 From: Tina Date: Wed, 15 May 2024 06:31:22 +0200 Subject: [PATCH] Do not attempt to print version during release --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 642aadb..de10306 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set up Python uses: actions/setup-python@v5 @@ -33,7 +35,6 @@ jobs: env: SETUPTOOLS_SCM_PRETEND_VERSION: ${{ inputs.version_name }} run: | - python -c 'import src.sssimp; print(src.sssimp.__version__)' python -m pip install --upgrade pip pip install build python -m build