mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-08 19:42:39 +02:00
22 lines
544 B
Batchfile
22 lines
544 B
Batchfile
|
|
IF "%APPVEYOR_REPO_BRANCH%"=="deploy" (
|
||
|
|
ECHO "twine upload --skip-existing dist/*" 1>&2
|
||
|
|
) ELSE (
|
||
|
|
ECHO Only deploy on deploy branch
|
||
|
|
)
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
echo not deploying on other branches, other than deploy
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
#ps: >-
|
||
|
|
# If ($env:APPVEYOR_REPO_BRANCH -eq 'devel') {
|
||
|
|
# echo not deploying on devel # twine upload --skip-existing -r test dist/*
|
||
|
|
# }
|
||
|
|
# ElseIf ($env:APPVEYOR_REPO_BRANCH -eq 'deploy') {
|
||
|
|
# twine upload --skip-existing dist/*
|
||
|
|
# }
|
||
|
|
# Else {
|
||
|
|
# echo not deploying on other branches
|
||
|
|
# }
|