You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by du...@apache.org on 2018/01/23 22:39:02 UTC

[incubator-openwhisk-cli] branch master updated: Travis cd to right directory to ls deployed files (#208)

This is an automated email from the ASF dual-hosted git repository.

dubeejw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-cli.git


The following commit(s) were added to refs/heads/master by this push:
     new 9da99c2  Travis cd to right directory to ls deployed files (#208)
9da99c2 is described below

commit 9da99c2fbbf405ac8c601a7191962c2030c9a490
Author: Jonathan Springer <jo...@gmail.com>
AuthorDate: Tue Jan 23 17:38:59 2018 -0500

    Travis cd to right directory to ls deployed files (#208)
    
    * Travis cd to right directory to ls deployed files
    
    * Correct double-quote use in .travis.yml before_deploy stanza
---
 .travis.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index c4563b9..2620fc8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -14,6 +14,7 @@ env:
   global:
     - secure: "Br0fD9CAKm8gqyEuwmltNJd4dGJCxPpj6feugHlO+CFFwfE/+kJKkpTlsDuRfrUzUDlWiETNPf0XGSjvPFqZExnLCE9XQh2+XF6u+S3YBWfM+rbbyRVAK6BlTwmt0u3jRJ2JP7spedTGZA+qfIWI+UkwoOexo7NcqtMPLahiZzheaaad8y3J+crHQCrB/kPrhLqKVMEOkIbveFdfV2QLfCOWgqP8e1LGZhPZ2N4QcNo0iB5uI4ZyYszTZDniXFKxz7kBs4tl4ZQDqRHqL02qKPsjbvjrZp83ql+PbC2dpgXi9YpaDuBEqKKX1rTQP5ppcwbobot5U3ItHWzpXbLCdsWxvbde/0enjMmOF1wwl71hPYIf7PkQmNAWXRtL2Z1TguO/dKCeXBLDER4YDQ79GYpikAMqnrRLou4rsyZrNUzg8aHbELzAHppDSpqEJN8ymGgWgmWBT8yPaWVwN5CjPFOxLPrVE [...]
     - build_file_name=wsk
+    # WARNING: if zip_file_name includes spaces or leading hyphen(s), it will create cosmetic breakage in 'before_deploy'
     - zip_file_name=OpenWhisk_CLI
 
 git:
@@ -50,7 +51,7 @@ after_success:
     fi
 
 before_deploy:
-  - export RELEASE_PKG_FILE=$(cd './release' && ls "${zip_file_name}-*.tgz" "${zip_file_name}-*.zip")
+  - export RELEASE_PKG_FILE="$(cd "$TRAVIS_BUILD_DIR/release" && ls ${zip_file_name}-*.tgz ${zip_file_name}-*.zip)"
   - echo "Deploying $RELEASE_PKG_FILE to GitHub releases."
 
 deploy:

-- 
To stop receiving notification emails like this one, please contact
dubeejw@apache.org.