summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-10-04 08:55:50 -0700
committerGitHub <noreply@github.com>2019-10-04 08:55:50 -0700
commitbd08fc0e9b3a9943008585879877b68789e38c31 (patch)
treefbee285a3a7a319f588e7841868638fee9f4eb29
parentc03b1b95a3e1333696053fbd8701721d6b206f56 (diff)
parent980291d0c13d833c632bcc6898ac32b04e799615 (diff)
downloadpodman-bd08fc0e9b3a9943008585879877b68789e38c31.tar.gz
podman-bd08fc0e9b3a9943008585879877b68789e38c31.tar.bz2
podman-bd08fc0e9b3a9943008585879877b68789e38c31.zip
Merge pull request #4180 from cevich/update_download_links
Docs: Update links, add links to latest
-rw-r--r--README.md5
-rwxr-xr-xcontrib/upldrel/entrypoint.sh10
2 files changed, 9 insertions, 6 deletions
diff --git a/README.md b/README.md
index 9bb7403dc..485ca7b6f 100644
--- a/README.md
+++ b/README.md
@@ -9,8 +9,9 @@ popularized by Kubernetes. Libpod also contains the Pod Manager tool `(Podman)`
* [Continuous Integration:](contrib/cirrus/README.md) [![Build Status](https://api.cirrus-ci.com/github/containers/libpod.svg)](https://cirrus-ci.com/github/containers/libpod/master)
* [GoDoc: ![GoDoc](https://godoc.org/github.com/containers/libpod/libpod?status.svg)](https://godoc.org/github.com/containers/libpod/libpod)
* Automated continuous release downloads (including remote-client):
- * Master Branch: [https://storage.cloud.google.com/libpod-master-releases/](https://storage.cloud.google.com/libpod-master-releases/)
- * Pull-requests: [https://storage.cloud.google.com/libpod-pr-releases/](https://storage.cloud.google.com/libpod-pr-releases/)
+ * [Latest remote client for Windows](https://storage.googleapis.com/libpod-master-releases/podman-remote-latest-master-windows-amd64.msi)
+ * [Latest remote client for MacOS](https://storage.googleapis.com/libpod-master-releases/podman-remote-latest-master-darwin-amd64.zip)
+ * [Latest Snap package](https://snapcraft.io/podman)
## Overview and scope
diff --git a/contrib/upldrel/entrypoint.sh b/contrib/upldrel/entrypoint.sh
index 6af6829c5..b79f1c5bf 100755
--- a/contrib/upldrel/entrypoint.sh
+++ b/contrib/upldrel/entrypoint.sh
@@ -7,7 +7,7 @@ source /usr/local/bin/lib_entrypoint.sh
req_env_var GCPJSON_FILEPATH GCPNAME GCPPROJECT BUCKET FROM_FILEPATH TO_FILENAME ALSO_FILENAME
[[ -r "$FROM_FILEPATH" ]] || \
- die 2 ERROR Cannot read release archive file: "$REL_ARC_FILEPATH"
+ die 2 ERROR Cannot read release archive file: "$FROM_FILEPATH"
[[ -r "$GCPJSON_FILEPATH" ]] || \
die 3 ERROR Cannot read GCP credentials file: "$GCPJSON_FILEPATH"
@@ -17,9 +17,11 @@ gcloud_init "$GCPJSON_FILEPATH"
echo "Uploading archive as $TO_FILENAME"
gsutil cp "$FROM_FILEPATH" "gs://$BUCKET/$TO_FILENAME"
-gsutil cp "$FROM_FILEPATH" "gs://$BUCKET/$ALSO_FILENAME"
+[[ -z "$ALSO_FILENAME" ]] || \
+ gsutil cp "$FROM_FILEPATH" "gs://$BUCKET/$ALSO_FILENAME"
echo "."
echo "Release now available for download at:"
-echo " https://storage.cloud.google.com/$BUCKET/$TO_FILENAME"
-echo " https://storage.cloud.google.com/$BUCKET/$ALSO_FILENAME"
+echo " https://storage.googleapis.com/$BUCKET/$TO_FILENAME"
+[[ -z "$ALSO_FILENAME" ]] || \
+ echo " https://storage.googleapis.com/$BUCKET/$ALSO_FILENAME"