Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
update install script with the latest goreleaser config
Browse files Browse the repository at this point in the history
this includes installing windows binaries for 32 bit and 64 bit systems
  • Loading branch information
karuppiah7890 committed Dec 23, 2020
1 parent 42f3fe9 commit 6c609b2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
set -e
# Code generated by godownloader on 2019-12-28T14:36:27Z. DO NOT EDIT.
# Code generated by godownloader on 2020-12-23T14:59:45Z. DO NOT EDIT.
#

usage() {
Expand Down Expand Up @@ -66,6 +66,8 @@ get_binaries() {
darwin/amd64) BINARIES="helm-schema-gen" ;;
linux/386) BINARIES="helm-schema-gen" ;;
linux/amd64) BINARIES="helm-schema-gen" ;;
windows/386) BINARIES="helm-schema-gen" ;;
windows/amd64) BINARIES="helm-schema-gen" ;;
*)
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 All @@ -89,6 +91,9 @@ tag_to_version() {
}
adjust_format() {
# change format (tar.gz or zip) based on OS
case ${OS} in
windows) FORMAT=zip ;;
esac
true
}
adjust_os() {
Expand Down

0 comments on commit 6c609b2

Please sign in to comment.