Separate script starts from CIRRUS_WORKING_DIR.
This commit is contained in:
parent
8c145b9150
commit
d1e6eb269d
|
@ -75,6 +75,7 @@ macos_task_template: &MACOS_TASK_TEMPLATE
|
|||
- ${COMPILER} --version
|
||||
- make -j$(nproc)
|
||||
deploy_script:
|
||||
- pwd
|
||||
- $CIRRUS_WORKING_DIR/scripts/cirrus-deploy.sh
|
||||
before_cache_script:
|
||||
- brew cleanup
|
||||
|
|
|
@ -28,7 +28,7 @@ if [[ "$DEPLOY" == "true" ]]; then
|
|||
check_failure "Unable to create an archive.";
|
||||
|
||||
print_info "Start uploading.";
|
||||
python3 $CIRRUS_WORKING_DIR/scripts/deploy.py upload $ACCESS_TOKEN $CIRRUS_WORKING_DIR/build/valentina-${PLATFORM}-${CIRRUS_CHANGE_IN_REPO}.tar.xz "/0.7.x/Mac OS X/valentina-${PLATFORM}-${CIRRUS_CHANGE_IN_REPO}.tar.xz";
|
||||
python3 $CIRRUS_WORKING_DIR/scripts/deploy.py upload $ACCESS_TOKEN $CIRRUS_WORKING_DIR/valentina-${PLATFORM}-${CIRRUS_CHANGE_IN_REPO}.tar.xz "/0.7.x/Mac OS X/valentina-${PLATFORM}-${CIRRUS_CHANGE_IN_REPO}.tar.xz";
|
||||
check_failure "Unable to upload.";
|
||||
|
||||
print_info "Successfully uploaded.";
|
||||
|
|
Loading…
Reference in New Issue
Block a user