Skip to content

Commit

Permalink
add a twine check (#123)
Browse files Browse the repository at this point in the history
* add a twine check

* let's actually try to do a release

* wheelhouse not dist
  • Loading branch information
ajfriend authored May 27, 2020
1 parent 11a3df6 commit 480bf97
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

- name: Install Deps
# only need scikit-build for the linux sdist step
run: pip install --upgrade cibuildwheel scikit-build
run: pip install --upgrade cibuildwheel scikit-build twine

- uses: ilammy/[email protected]
if: startsWith(matrix.os, 'windows')
Expand Down Expand Up @@ -65,6 +65,9 @@ jobs:
## Upload

- name: Check with Twine
run: twine check wheelhouse/*

- name: Upload artifacts to GitHub
if: github.event_name == 'release'
uses: actions/upload-artifact@v2
Expand All @@ -78,5 +81,4 @@ jobs:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.pypi_password }}
run: |
python -m pip install --upgrade twine
twine upload wheelhouse/*
2 changes: 1 addition & 1 deletion src/h3/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '3.6.1a1'
__version__ = '3.6.1a5'
__description__ = 'Hierarchical hexagonal geospatial indexing system'
__url__ = 'https://github.com/uber/h3-py'
__license__ = "Apache 2.0 License"
Expand Down

0 comments on commit 480bf97

Please sign in to comment.