Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
3f49ad8e
"git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "8a1fdd5312f61cadf4c9b0f5622100f1ff4c692e"
Commit
3f49ad8e
authored
May 06, 2019
by
demianzhang
Committed by
xuehui
May 06, 2019
Browse files
Fix Windows upload pipeline (#1035)
parent
9c1dfaf5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
deployment/deployment-pipelines.yml
deployment/deployment-pipelines.yml
+5
-5
No files found.
deployment/deployment-pipelines.yml
View file @
3f49ad8e
...
...
@@ -206,11 +206,11 @@ jobs:
cd deployment\pypi
if($env:BUILD_TYPE -eq 'prerelease'){
Write-Host 'uploading prerelease package to testpypi...'
python -m twine upload -u $
env:TESTPYPI_USER -p $env:TESTPYPI_PWD
--repository-url https://test.pypi.org/legacy/ dist/*
python -m twine upload -u $
(testpypi_user) -p $(testpypi_pwd)
--repository-url https://test.pypi.org/legacy/ dist/*
}
else{
Write-Host 'uploading release package to pypi...'
python -m twine upload -u $
env:PYPI_USER -p $env:PYPI_PWD
dist/*
python -m twine upload -u $
(pypi_user) -p $(pypi_pwd)
dist/*
}
condition
:
eq( variables['upload_package'], 'true')
displayName
:
'
upload
nni
package
to
pypi/testpypi'
...
...
@@ -249,11 +249,11 @@ jobs:
cd deployment\pypi
if($env:BUILD_TYPE -eq 'prerelease'){
Write-Host 'uploading prerelease package to testpypi...'
python -m twine upload -u $
env:TESTPYPI_USER -p $env:TESTPYPI_PWD
--repository-url https://test.pypi.org/legacy/ dist/*
python -m twine upload -u $
(testpypi_user) -p $(testpypi_pwd)
--repository-url https://test.pypi.org/legacy/ dist/*
}
else{
Write-Host 'uploading release package to pypi...'
python -m twine upload -u $
env:PYPI_USER -p $env:PYPI_PWD
dist/*
python -m twine upload -u $
(pypi_user) -p $(pypi_pwd)
dist/*
}
condition
:
eq( variables['upload_package'], 'true')
displayName
:
'
upload
nni
package
to
pypi/testpypi'
\ No newline at end of file
displayName
:
'
upload
nni
package
to
pypi/testpypi'
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment