Commit a26a10cf by Leonard Gram

build: repo update input error.

parent 7fea1f84
...@@ -4,6 +4,7 @@ RELEASE_TYPE="${1:-}" ...@@ -4,6 +4,7 @@ RELEASE_TYPE="${1:-}"
GPG_PASS="${2:-}" GPG_PASS="${2:-}"
if [ -z "$RELEASE_TYPE" -o -z "$GPG_PASS" ]; then if [ -z "$RELEASE_TYPE" -o -z "$GPG_PASS" ]; then
echo "Both RELEASE_TYPE (arg 1) and GPG_PASS (arg 2) has to be set"
exit 1 exit 1
fi fi
...@@ -35,4 +36,7 @@ gsutil -m rsync -r -d /deb-repo/db gs://grafana-aptly-db/repo-db ...@@ -35,4 +36,7 @@ gsutil -m rsync -r -d /deb-repo/db gs://grafana-aptly-db/repo-db
gsutil -m rsync -r -d /deb-repo/repo/grafana "gs://grafana-repo/$RELEASE_TYPE/deb" gsutil -m rsync -r -d /deb-repo/repo/grafana "gs://grafana-repo/$RELEASE_TYPE/deb"
# usage: # usage:
# deb https://grafana-repo.storage.googleapis.com/oss/deb squeeze main # deb https://grafana-repo.storage.googleapis.com/oss/deb squeeze main
\ No newline at end of file #
# later:
# deb https://repo.grafana.com/oss/deb squeeze main
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment