File tree Expand file tree Collapse file tree
branches/tswast-patch-1/utilities Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,5 +57,5 @@ refs/tags/v0.18.0: 9d193c4c4b9d1c6f21515dd8e50836b9194ec9bb
5757refs/tags/v0.19.0: e67b56e4d8dad5f9a7b38c9b2107c23c828f2ed5
5858refs/tags/v0.20.0: 839f7fb7156535146aa1cb2c5aadd8d375d854e8
5959refs/tags/v0.20.1: 370471f437f1f4f68a11e068df5cd6bf39edb1fa
60- refs/heads/tswast-patch-1: d2f41285f09c2f2b1ed85eb323f378fe530de3bd
60+ refs/heads/tswast-patch-1: 3a5d6388a28006808e021b7bb0d83d900af72274
6161refs/heads/pubsub-streaming-pull: 19262b752ee874eb2ca3b950eb2aef44d5a5267b
Original file line number Diff line number Diff line change @@ -21,15 +21,14 @@ if [ "${TRAVIS_JDK_VERSION}" == "oraclejdk7" -a "${TRAVIS_BRANCH}" == "master" -
2121 git clone --branch gh-pages --single-branch https://github.com/GoogleCloudPlatform/gcloud-java/ tmp_gh-pages
2222 cd tmp_gh-pages
2323 mkdir -p site/latest/
24- touch site/latest/index.html
2524 echo " <html><head><meta http-equiv=\" refresh\" content=\" 0; URL='http://GoogleCloudPlatform.github.io/gcloud-java/site/${SITE_VERSION} /index.html'\" /></head><body></body></html>" > site/latest/index.html
2625 git add site/latest/index.html
2726
2827 # Update "Quickstart with Maven" block on landing page to reflect latest version
2928 sed -i " s/{{SITE_VERSION}}/$SITE_VERSION /g" site/${SITE_VERSION} /index.html
3029 git add site/${SITE_VERSION} /index.html
3130
32- git commit -m " Updating to reflect latest website version"
31+ git commit -m " Update the redirect in ' latest/index.html' and the version in the 'Quickstart with Maven' landing page box to $SITE_VERSION "
3332 git config --global push.default simple
3433 git push --quiet " https://${CI_DEPLOY_USERNAME} :${CI_DEPLOY_PASSWORD} @github.com/GoogleCloudPlatform/gcloud-java.git" > /dev/null 2>&1
3534 fi
You can’t perform that action at this time.
0 commit comments