This time should work.

This commit is contained in:
Roman Telezhynskyi 2021-05-02 20:04:15 +03:00
parent d8043c03b3
commit eb0dfb1f7a

View File

@ -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)