dgrove-oss closed pull request #32: Fix travis publish 72
URL: https://github.com/apache/incubator-openwhisk-runtime-php/pull/32
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.travis.yml b/.travis.yml
index aef492e..9e2ac3e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -31,6 +31,11 @@ deploy:
     on:
       branch: master
       repo: apache/incubator-openwhisk-runtime-php
+  - provider: script
+    script: "./tools/travis/publish.sh openwhisk 7.2 master"
+    on:
+      branch: master
+      repo: apache/incubator-openwhisk-runtime-php
 env:
   global:
   - secure: 
AJZRyRO/ZkStfywAZVN8bk1YmQLHOTD37QdjBsw77CdqnW9Y+a7V3+wZD3W+obQrEhNR9spkKlMh+biE2HFoRwr/AZ3Pl0frzhlyzZXaLUgJMK7wfQzuFVVgjODs4ld2PrJRv5LibFwco9cosDYHe9xlqQ+/Yg/QaWZPK0rBS1UFBxHh1cOcIJ0N80vDXgZbqmH9nuE7W5GvNGzDg9p16w+u48a6UF7UVzf+RU/uR13q7LrAq/FD7dtdiHpamIw4MiGWhW/GZQrwZpzovfGFr365uEVWu+ssQJld+sbeVoN9ED6kOrfYTFg+l7+8cvjhkZ9LUWELK/zVFCu4wYmuhk6utUreBD5rzsfVQmt0Ups7ANIqVS0874CW6WdxO+wPx5Me5k3azXbLgk6mPt4hL0+nlUZ1ycP2rEN/RnL2r8UJAN3vdvL1nXrTTulwNLwS8U3Lc+4yEV+YHQR9c9pYdw3VPx1vNVjEQ34djeoiVxROueBDroZfP3Ft5IazQx4sGPHWfFS1yH5JD58S7YYlz8QEope+Cby1Sj4MUJIjqlT9UgQXq1UydzAWmQPcn81scfITTAWzKHvIXxKrffiVPwkMG67uaUiobd9tDYr+CWpuKXckOSuOi0CwRuGJKyc7lGQvW2zVg7uC56bA9LMD91HYCsRUbNuOox9TXVLjGtM=
diff --git a/tools/travis/publish.sh b/tools/travis/publish.sh
index 1166a51..dfd5ab3 100755
--- a/tools/travis/publish.sh
+++ b/tools/travis/publish.sh
@@ -30,19 +30,13 @@ IMAGE_PREFIX=$1
 RUNTIME_VERSION=$2
 IMAGE_TAG=$3
 
-if [ ${RUNTIME_VERSION} == "7" ]; then
-  RUNTIME="php7Action"
-elif [ ${RUNTIME_VERSION} == "7.1" ]; then
-  RUNTIME="php7.1Action"
-fi
-
 if [[ ! -z ${DOCKER_USER} ]] && [[ ! -z ${DOCKER_PASSWORD} ]]; then
 docker login -u "${DOCKER_USER}" -p "${DOCKER_PASSWORD}"
 fi
 
-if [[ ! -z ${RUNTIME} ]]; then
+if [[ ! -z ${RUNTIME_VERSION} ]]; then
 TERM=dumb ./gradlew \
-:core:${RUNTIME}:distDocker \
+:core:php${RUNTIME_VERSION}Action:distDocker \
 -PdockerRegistry=docker.io \
 -PdockerImagePrefix=${IMAGE_PREFIX} \
 -PdockerImageTag=${IMAGE_TAG}


 

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to