Skip to content

Commit

Permalink
fix the install script
Browse files Browse the repository at this point in the history
this was a copy paste issue. I copied the script
from schema-gen plugin, instead of generating it
  • Loading branch information
karuppiah7890 committed Mar 7, 2020
1 parent 4cc7557 commit 93aa4c2
Showing 1 changed file with 12 additions and 11 deletions.
23 changes: 12 additions & 11 deletions scripts/install.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
#!/bin/sh
set -e
# Code generated by godownloader on 2019-12-28T14:36:27Z. DO NOT EDIT.
#
# Code generated by godownloader on 2020-03-07T06:30:55Z. DO NOT EDIT.
# Command used to generate this file:
# $ godownloader .goreleaser.yml -r karuppiah7890/helm-push-all

usage() {
this=$1
cat <<EOF
$this: download go binaries for karuppiah7890/helm-schema-gen
$this: download go binaries for karuppiah7890/helm-push-all
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/karuppiah7890/helm-schema-gen/releases
https://github.com/karuppiah7890/helm-push-all/releases
If tag is missing, then the latest will be used.
Generated by godownloader
Expand Down Expand Up @@ -62,10 +63,10 @@ execute() {
}
get_binaries() {
case "$PLATFORM" in
darwin/386) BINARIES="helm-schema-gen" ;;
darwin/amd64) BINARIES="helm-schema-gen" ;;
linux/386) BINARIES="helm-schema-gen" ;;
linux/amd64) BINARIES="helm-schema-gen" ;;
darwin/386) BINARIES="helm-push-all" ;;
darwin/amd64) BINARIES="helm-push-all" ;;
linux/386) BINARIES="helm-push-all" ;;
linux/amd64) BINARIES="helm-push-all" ;;
*)
log_crit "platform $PLATFORM is not supported. Make sure this script is up-to-date and file request at https://github.com/${PREFIX}/issues/new"
exit 1
Expand Down Expand Up @@ -344,10 +345,10 @@ End of functions from https://github.com/client9/shlib
------------------------------------------------------------------------
EOF

PROJECT_NAME="helm-schema-gen"
PROJECT_NAME="helm-push-all"
OWNER=karuppiah7890
REPO="helm-schema-gen"
BINARY=helm-schema-gen
REPO="helm-push-all"
BINARY=helm-push-all
FORMAT=tar.gz
OS=$(uname_os)
ARCH=$(uname_arch)
Expand Down

0 comments on commit 93aa4c2

Please sign in to comment.