diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 75bdd06..31b46d5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,7 +26,7 @@ jobs: - uses: actions/upload-artifact@v4 with: - name: dist + name: dist-sdist path: dist - uses: actions/upload-artifact@v4 @@ -52,7 +52,7 @@ jobs: - uses: actions/download-artifact@v4 with: - name: dist + name: dist-sdist path: dist - uses: actions/download-artifact@v4 @@ -89,9 +89,9 @@ jobs: CIBW_BEFORE_BUILD_MACOS: "find . -name '*.o' -delete && IS_MACOS=1 ./pre_build.sh" CIBW_BEFORE_BUILD_LINUX: "find . -name '*.o' -delete && ./pre_build.sh && (yum install -y zlib-devel || apk add zlib-dev)" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: dist + name: dist-${{ matrix.os }}-${{ matrix.arch }} path: dist verify: name: Verify wheels @@ -100,10 +100,13 @@ jobs: steps: - uses: actions/download-artifact@v4 with: - name: dist + pattern: dist-* path: dist + merge-multiple: true + - name: Verify sdist + run: ls -lh dist/*.tar.gz - name: Verify wheels - run: ls -lh dist + run: ls -lh dist/*.whl pypi-publish: if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/') needs: [verify] @@ -117,7 +120,8 @@ jobs: steps: - uses: actions/download-artifact@v4 with: - name: dist + pattern: dist-* path: dist + merge-multiple: true - name: Publish package distributions to PyPI uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/append-version b/append-version deleted file mode 100644 index e69de29..0000000 diff --git a/bin/package-version b/bin/package-version index 7c239b1..f8e839b 100755 --- a/bin/package-version +++ b/bin/package-version @@ -7,7 +7,7 @@ _ROOT = os.path.dirname(os.path.abspath(os.path.dirname(__file__))) # if 0: use the upstream version # if >0: append `.post1` / `.a1` as needed -SERIAL = 0 +SERIAL = 1 def main() -> int: