diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 1622b83..7654c7f 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -38,6 +38,9 @@ jobs: steps: - uses: actions/checkout@v4 + with: + fetch-depth: 0 + fetch-tags: true - uses: actions/download-artifact@v4 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe7edd5..6212351 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,8 +41,6 @@ jobs: steps: - name: Check out code uses: actions/checkout@v4 - with: - fetch-tags: true - uses: actions/download-artifact@v4 with: @@ -89,8 +87,6 @@ jobs: steps: - name: Check out code uses: actions/checkout@v4 - with: - fetch-tags: true - uses: actions/download-artifact@v4 with: @@ -144,8 +140,6 @@ jobs: continue-on-error: true steps: - uses: actions/checkout@v4 - with: - fetch-tags: true - uses: actions/download-artifact@v4 with: name: stencil-object-files @@ -175,8 +169,6 @@ jobs: continue-on-error: true steps: - uses: actions/checkout@v4 - with: - fetch-tags: true - uses: actions/download-artifact@v4 with: name: stencil-object-files @@ -206,8 +198,6 @@ jobs: continue-on-error: true steps: - uses: actions/checkout@v4 - with: - fetch-tags: true - uses: actions/download-artifact@v4 with: name: stencil-object-files @@ -242,8 +232,6 @@ jobs: steps: - name: Check out code uses: actions/checkout@v4 - with: - fetch-tags: true - uses: actions/download-artifact@v4 with: @@ -290,10 +278,8 @@ jobs: steps: - uses: actions/checkout@v4 with: + fetch-depth: 0 fetch-tags: true - sparse-checkout: | - pyproject.toml - tools/get_tag.sh - name: Download artifacts uses: actions/download-artifact@v4 diff --git a/.gitignore b/.gitignore index cf6c9ff..aaa1e38 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ docs/source/api core *.log docs/source/start.md +/src/copapy/_version.py diff --git a/src/copapy/_version.py b/src/copapy/_version.py deleted file mode 100644 index 869cfb0..0000000 --- a/src/copapy/_version.py +++ /dev/null @@ -1,2 +0,0 @@ -# generated by setuptools_scm - do not edit -__version__ = "0.0.0"