Fix deploy issue.

This commit is contained in:
Roman Telezhynskyi 2021-05-03 11:34:39 +03:00
parent 7eea280f83
commit 112854187a

View File

@ -257,9 +257,9 @@ after_test:
# scripts to run before deployment # scripts to run before deployment
before_deploy: 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 # to run your custom scripts instead of provider deployments
deploy_script: 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")