Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 39cdaf4

Browse files
committed
Avoid uploading release wheel as nightly wheel
- if release wheel option is True then skip nightly wheel - Otherwise pypi.org gives an error about wrong token
1 parent cb168c1 commit 39cdaf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/upload-wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ steps:
1010
python -m pip install twine
1111
cat $(PYPIRC_PATH)
1212
python -m twine upload --verbose --skip-existing -r NMODLPypiNightly --config-file $(PYPIRC_PATH) wheelhouse/*.whl
13-
condition: and(succeeded(), eq(variables.buildWheel, true), ne(variables['UploadWheel'], false))
13+
condition: and(succeeded(), eq(variables.buildWheel, true), ne(variables['UploadWheel'], false), ne(variables.ReleaseWheelBuild, true))
1414
displayName: 'Upload nightly wheel to pypi.org'
1515
- task: TwineAuthenticate@1
1616
inputs:

0 commit comments

Comments
 (0)