From eb0dfb1f7a8557c5bf8c8e476ab37f865cf6c259 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sun, 2 May 2021 20:04:15 +0300 Subject: [PATCH] This time should work. --- appveyor.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index b91407d88..7e7455b22 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -202,10 +202,10 @@ init: - path # Check that we have the expected version and architecture for Python - if "%DEPLOY%" == "true" (python --version) - - if "%DEPLOY%" == "true" "python -c \"import struct; print(struct.calcsize('P') * 8)\"" + - if "%DEPLOY%" == "true" (python -c \"import struct; print(struct.calcsize('P') * 8)\") # Install the build dependencies of the project. - - if "%DEPLOY%" == "true" "python -m pip install --upgrade pip" - - if "%DEPLOY%" == "true" "python -m pip install dropbox" + - if "%DEPLOY%" == "true" (python -m pip install --upgrade pip) + - if "%DEPLOY%" == "true" (python -m pip install dropbox) # Trick qmake to not work through MSYS - del /F "C:\Program Files\Git\usr\bin\sh.exe" - del /F "C:\Program Files\Git\bin\sh.exe" @@ -258,9 +258,9 @@ after_test: # scripts to run before deployment before_deploy: - - if "%DEPLOY%" == "true" "python ..\scripts\deploy.py pack .\package\valentina\ .\package\valentina-win-$(PLATFORM)-$(QT_VERSION)-$(APPVEYOR_REPO_BRANCH)-$(APPVEYOR_REPO_COMMIT).zip" + - if "%DEPLOY%" == "true" (python ..\scripts\deploy.py pack .\package\valentina\ .\package\valentina-win-$(PLATFORM)-$(QT_VERSION)-$(APPVEYOR_REPO_BRANCH)-$(APPVEYOR_REPO_COMMIT).zip) # to run your custom scripts instead of provider deployments deploy_script: - - if "%DEPLOY%" == "true" "python ..\scripts\deploy.py upload $(ACCESS_TOKEN) .\package\valentina-win-$(PLATFORM)-$(QT_VERSION)-$(APPVEYOR_REPO_BRANCH)-$(APPVEYOR_REPO_COMMIT).zip /0.7.x/Windows/valentina-win-$(PLATFORM)-$(QT_VERSION)-$(APPVEYOR_REPO_BRANCH)-$(APPVEYOR_REPO_COMMIT).zip" + - if "%DEPLOY%" == "true" (python ..\scripts\deploy.py upload $(ACCESS_TOKEN) .\package\valentina-win-$(PLATFORM)-$(QT_VERSION)-$(APPVEYOR_REPO_BRANCH)-$(APPVEYOR_REPO_COMMIT).zip /0.7.x/Windows/valentina-win-$(PLATFORM)-$(QT_VERSION)-$(APPVEYOR_REPO_BRANCH)-$(APPVEYOR_REPO_COMMIT).zip)