X-Git-Url: https://git.josue.xyz/?a=blobdiff_plain;f=goreleaser%2Finstall.sh;h=a855cd4ea000fa8b1a12de6ed452dd21772b1194;hb=4edf137e5d6b65f9ac847db6694ac387c7e91f3e;hp=b11248eebde762aea5d67596a0191bb1231ef8bc;hpb=c79bace5060864dcbd0d4202fcefd1fa667218c4;p=webi-installers%2F.git diff --git a/goreleaser/install.sh b/goreleaser/install.sh index b11248e..a855cd4 100644 --- a/goreleaser/install.sh +++ b/goreleaser/install.sh @@ -1,8 +1,8 @@ #!/bin/bash +set -e +set -u -{ - set -e - set -u +function __init_goreleaser() { ###################### # Install goreleaser # @@ -33,7 +33,9 @@ # goreleaser 0.99.9 (rev abcdef0123) # This trims it down to just the version number: # 0.99.9 - echo $(goreleaser --version 2>/dev/null | head -n 1 | cut -d ' ' -f 2) + echo $(goreleaser --version 2> /dev/null | head -n 1 | cut -d ' ' -f 2) } } + +__init_goreleaser