diff options
author | Tim Harder <radhermit@gmail.com> | 2021-03-21 05:53:09 -0600 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2021-03-21 05:53:09 -0600 |
commit | 64455296d2cf7f8b514e0f9d1e8b160f702d7e37 (patch) | |
tree | 2cdbd2814d45d8307778c5b38bda66a88c1971fa /.github | |
parent | dist.distutils_extensions: add BUILD_WHEEL env flag to force install (diff) | |
download | snakeoil-64455296d2cf7f8b514e0f9d1e8b160f702d7e37.tar.gz snakeoil-64455296d2cf7f8b514e0f9d1e8b160f702d7e37.tar.bz2 snakeoil-64455296d2cf7f8b514e0f9d1e8b160f702d7e37.zip |
github: various release workflow updates
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/release.yml | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index aa6afcea..5e38dcfb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,8 +33,6 @@ jobs: - name: Build sdist run: | git clean -fxd - # use release version of pyproject.toml - cp requirements/pyproject.toml ./pyproject.toml # build sdist python setup.py sdist @@ -43,6 +41,7 @@ jobs: with: output-dir: dist env: + BUILD_WHEEL: true CIBW_BUILD: cp38-* cp39-* CIBW_ARCHS_LINUX: x86_64 i686 CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 @@ -53,9 +52,14 @@ jobs: - name: Output dist file info run: | - ls dist/ - tar -ztf dist/*.tar.gz | sort sha512sum dist/* + tar -ztf dist/*.tar.gz | sort + + - name: Install twine and check files + run: | + pip install twine wheel-inspect + twine check dist/* + wheel2json dist/*.whl - name: Upload files for tagged releases env: @@ -64,5 +68,4 @@ jobs: # only upload files for tagged releases if: startsWith(github.ref, 'refs/tags/') run: | - pip install twine twine upload dist/* |