diff options
author | Jason Wray <friedbunny@users.noreply.github.com> | 2016-10-18 16:43:37 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-18 16:43:37 -0400 |
commit | f2ca03005b44d9b90ed3aad49e94216585988f27 (patch) | |
tree | ba78246b4ea9aca9cc3021c968dbf9a8faf48ec5 | |
parent | 87885008a670739addcc633202c93fc0b7d28684 (diff) | |
download | qtlocation-mapboxgl-f2ca03005b44d9b90ed3aad49e94216585988f27.tar.gz |
[ios] Fix deploy script temp directory creation (#6740)
Also:
- Ignore stdout from github-release uploads.
- Add execution time to finished message.
-rwxr-xr-x | platform/ios/scripts/deploy-packages.sh | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/platform/ios/scripts/deploy-packages.sh b/platform/ios/scripts/deploy-packages.sh index 51b90a545f..8ad5e7abb1 100755 --- a/platform/ios/scripts/deploy-packages.sh +++ b/platform/ios/scripts/deploy-packages.sh @@ -43,7 +43,7 @@ buildPackageStyle() { github-release upload \ --tag "ios-v${PUBLISH_VERSION}" \ --name ${file_name} \ - --file "${BINARY_DIRECTORY}/${file_name}" + --file "${BINARY_DIRECTORY}/${file_name}" > /dev/null fi } @@ -58,9 +58,6 @@ BINARY_DIRECTORY=${BINARY_DIRECTORY:-build/ios/deploy} GITHUB_RELEASE=${GITHUB_RELEASE:-true} PUBLISH_PRE_FLAG='' -rm -rf ${BINARY_DIRECTORY} -mkdir -p ${BINARY_DIRECTORY} - if [[ ${GITHUB_RELEASE} = "true" ]]; then GITHUB_RELEASE=true # Assign bool, not just a string @@ -98,6 +95,7 @@ git checkout ${VERSION_TAG} step "Deploying version ${PUBLISH_VERSION}…" make clean && make distclean +mkdir -p ${BINARY_DIRECTORY} if [[ "${GITHUB_RELEASE}" == true ]]; then step "Create GitHub release…" @@ -116,4 +114,4 @@ buildPackageStyle "iframework" "symbols-dynamic" buildPackageStyle "iframework SYMBOLS=NO" "dynamic" buildPackageStyle "ifabric" "fabric" -step "Finished deploying ${PUBLISH_VERSION}" +step "Finished deploying ${PUBLISH_VERSION} in $(($SECONDS / 60)) minutes and $(($SECONDS % 60)) seconds" |