You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2018/04/05 20:53:55 UTC

[GitHub] mrutkows commented on a change in pull request #857: Fix the missing version for the binary

mrutkows commented on a change in pull request #857: Fix the missing version for the binary
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/pull/857#discussion_r179589271
 
 

 ##########
 File path: .travis.yml
 ##########
 @@ -56,12 +56,16 @@ after_script:
 before_deploy:
 - export build_file_name=wskdeploy
 - go get github.com/inconshreveable/mousetrap
-- "./tools/travis/build_tag_releases.sh $build_file_name"
-- ./gradlew --console=plain releaseBinaries
-- 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."
 - export GIT_TAG="latest"
 - export TAG=false
+- if [ ! -z "$TRAVIS_TAG" ] ; then
+      export GIT_TAG=$TRAVIS_TAG;
+      export TAG=true;
+  fi
+- "./tools/travis/build_tag_releases.sh $build_file_name $GIT_TAG"
+- ./gradlew --console=plain releaseBinaries -PpackageVersion=$GIT_TAG
 
 Review comment:
   This PR also enables the gradle task to build binaries on Tagged releases...

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services