Skip to content

Commit

Permalink
ci: Upload wheels to production PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
jcfr committed Jul 26, 2018
1 parent 38b7aec commit cf430fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Expand Up @@ -127,7 +127,7 @@ jobs:
. ../venv/bin/activate
pip install twine
ls dist
twine upload -u $PYPI_USER -p $PYPI_PASSWORD --repository-url https://test.pypi.org/legacy/ --skip-existing dist/*
twine upload -u $PYPI_USER -p $PYPI_PASSWORD --skip-existing dist/*
- run:
<<: *deploy_website_command

Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Expand Up @@ -60,7 +60,7 @@ after_success:
deploy:
# deploy-release
- provider: script
script: pwd && ls dist;echo "deploy-release" && ~/.pyenv/versions/${PYTHON_VERSION}/bin/twine upload -u $PYPI_USER -p $PYPI_PASSWORD --repository-url https://test.pypi.org/legacy/ --skip-existing dist/*
script: pwd && ls dist;echo "deploy-release" && ~/.pyenv/versions/${PYTHON_VERSION}/bin/twine upload -u $PYPI_USER -p $PYPI_PASSWORD --skip-existing dist/*
skip_cleanup: true
on:
repo: ${TRAVIS_REPO_SLUG}
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Expand Up @@ -87,7 +87,7 @@ deploy_script:
if ($env:appveyor_repo_tag -eq $true -and $env:appveyor_repo_tag_name –match "^[0-9]+(\.[0-9]+)*(\.post[0-9]+)?$") {
Write-Host "deploy release"
$env:PATH="$env:PYTHON_DIR/Scripts/;$env:PATH"
twine upload -u $env:PYPI_USER -p $env:PYPI_PASSWORD --repository-url https://test.pypi.org/legacy/ --skip-existing dist/*
twine upload -u $env:PYPI_USER -p $env:PYPI_PASSWORD --skip-existing dist/*
} elseif ($env:appveyor_repo_branch -eq "master") {
Write-Host "deploy master (not implemented)"
} else {
Expand Down

0 comments on commit cf430fe

Please sign in to comment.