Skip to content

Commit

Permalink
Avoid uploading release wheel as nightly wheel
Browse files Browse the repository at this point in the history
  - if release wheel option is True then skip nightly wheel
  - Otherwise pypi.org gives an error about wrong token
  • Loading branch information
pramodk committed Apr 28, 2021
1 parent cb168c1 commit 39cdaf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/upload-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ steps:
python -m pip install twine
cat $(PYPIRC_PATH)
python -m twine upload --verbose --skip-existing -r NMODLPypiNightly --config-file $(PYPIRC_PATH) wheelhouse/*.whl
condition: and(succeeded(), eq(variables.buildWheel, true), ne(variables['UploadWheel'], false))
condition: and(succeeded(), eq(variables.buildWheel, true), ne(variables['UploadWheel'], false), ne(variables.ReleaseWheelBuild, true))
displayName: 'Upload nightly wheel to pypi.org'
- task: TwineAuthenticate@1
inputs:
Expand Down

0 comments on commit 39cdaf4

Please sign in to comment.