Skip to content

Commit

Permalink
fix PyPI build activation with Travis (#126)
Browse files Browse the repository at this point in the history
The previous setup of releasing with a Travis post-build hook was erroring out (authentication and commit message flag issues). This PR fixes those issues and successfully triggers a wheel and source code distribution build on TestPyPI, as intended for the development branch.
  • Loading branch information
JessicaS11 committed Sep 10, 2020
1 parent 20fd0bf commit ff550d6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ deploy:
password: $test_PyPI_API_Token
on:
branch: development
condition: commit_message = test_pypi
if: commit_message =~ test_pypi
skip_existing: true
distributions: "sdist bdist_wheel"
- provider: pypi
username: "__token__"
password: $PyPI_API_Token
on:
branch: master
tags: true
skip_existing: true
# script:
# - export PyPI_API_Token=$PyPI_API_Token
distributions: "sdist bdist_wheel"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name="icepyx",
version="0.2.0",
version="0.3.0",
author="The icepyx Developers",
author_email="jbscheick@gmail.com",
maintainer="Jessica Scheick",
Expand Down

0 comments on commit ff550d6

Please sign in to comment.