Skip to content

Commit

Permalink
Updated downloader script
Browse files Browse the repository at this point in the history
  • Loading branch information
mihirsoni committed Jun 11, 2019
1 parent a657ad2 commit 9612a38
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions godownloader.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
#!/bin/sh
set -e
# Code generated by godownloader on 2019-05-29T23:56:08Z. DO NOT EDIT.
# Code generated by godownloader on 2019-06-11T21:02:09Z. DO NOT EDIT.
#

usage() {
this=$1
cat <<EOF
$this: download go binaries for mihirsoni/odfe-alerting
$this: download go binaries for mihirsoni/odfe-monitor-cli
Usage: $this [-b] bindir [-d] [tag]
-b sets bindir or installation directory, Defaults to ./bin
-d turns on debug logging
[tag] is a tag from
https://github.com/mihirsoni/odfe-alerting/releases
https://github.com/mihirsoni/odfe-monitor-cli/releases
If tag is missing, then the latest will be used.
Generated by godownloader
Expand Down Expand Up @@ -51,7 +51,7 @@ execute() {
srcdir="${tmpdir}"
(cd "${tmpdir}" && untar "${TARBALL}")
test ! -d "${BINDIR}" && install -d "${BINDIR}"
for binexe in "odfe-alerting" ; do
for binexe in "odfe-monitor-cli" ; do
if [ "$OS" = "windows" ]; then
binexe="${binexe}.exe"
fi
Expand Down Expand Up @@ -348,10 +348,10 @@ End of functions from https://github.com/client9/shlib
------------------------------------------------------------------------
EOF

PROJECT_NAME="odfe-alerting"
PROJECT_NAME="odfe-monitor-cli"
OWNER=mihirsoni
REPO="odfe-alerting"
BINARY=odfe-alerting
REPO="odfe-monitor-cli"
BINARY=odfe-monitor-cli
FORMAT=tar.gz
OS=$(uname_os)
ARCH=$(uname_arch)
Expand Down

0 comments on commit 9612a38

Please sign in to comment.