Bump package version to 0.0.5

This commit is contained in:
thunderbiscuit 2022-02-22 14:04:02 -05:00
parent 472edb6e8c
commit 4de866de20
No known key found for this signature in database
GPG Key ID: 88253696EB836462
2 changed files with 29 additions and 7 deletions

View File

@ -1,5 +1,5 @@
on: [push, pull_request]
name: Build wheels
name: Build and publish wheels
# We use manylinux2014 because older CentOS versions used by 2010 and 1 have a very old glibc version, which
# makes it very hard to use GitHub's javascript actions (checkout, upload-artifact, etc).
@ -109,12 +109,34 @@ jobs:
path: dist/*.whl
publish-pypi:
name: 'Publish on PyPI'
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest
needs: [build-manylinux2014-x86_64-wheel, build-macos-universal-wheel, build-windows-wheel]
- name: 'Publish on PyPI'
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
# needs: [build-macos-universal-wheel]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: 'Download artifacts in dist/ directory'
uses: actions/download-artifact@v2
with:
path: dist/
# - name: Display structure of downloaded files
# run: ls -R
# - name: 'Publish on test PyPI'
# uses: pypa/gh-action-pypi-publish@release/v1
# with:
# user: __token__
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
# repository_url: https://test.pypi.org/legacy/
# packages_dir: dist/*/
- name: 'Publish on PyPI'
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
password: ${{ secrets.PYPI_API_TOKEN }}
packages_dir: dist/*/

View File

@ -61,7 +61,7 @@ rust_ext = RustExtension(
setup(
name = 'bdkpython',
version = '0.1.0',
version = '0.0.5',
description="The Python language bindings for the bitcoindevkit",
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',