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

Commit 6c609b2

Browse files
committed
update install script with the latest goreleaser config
this includes installing windows binaries for 32 bit and 64 bit systems
1 parent 42f3fe9 commit 6c609b2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/install.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
set -e
3-
# Code generated by godownloader on 2019-12-28T14:36:27Z. DO NOT EDIT.
3+
# Code generated by godownloader on 2020-12-23T14:59:45Z. DO NOT EDIT.
44
#
55

66
usage() {
@@ -66,6 +66,8 @@ get_binaries() {
6666
darwin/amd64) BINARIES="helm-schema-gen" ;;
6767
linux/386) BINARIES="helm-schema-gen" ;;
6868
linux/amd64) BINARIES="helm-schema-gen" ;;
69+
windows/386) BINARIES="helm-schema-gen" ;;
70+
windows/amd64) BINARIES="helm-schema-gen" ;;
6971
*)
7072
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"
7173
exit 1
@@ -89,6 +91,9 @@ tag_to_version() {
8991
}
9092
adjust_format() {
9193
# change format (tar.gz or zip) based on OS
94+
case ${OS} in
95+
windows) FORMAT=zip ;;
96+
esac
9297
true
9398
}
9499
adjust_os() {

0 commit comments

Comments
 (0)