mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
fix: run
not being truly POSIX-compliant (#4739)
I'm sorry, but my previous PR #4736 contained a mistake and the script wasn't truly POSIX compliant. With this PR I fix that mistake. See relevant shellcheck warning: https://www.shellcheck.net/wiki/SC3010
This commit is contained in:
parent
f36318b6fd
commit
8d3cd4cef6
6
www/docs/static/run
vendored
6
www/docs/static/run
vendored
@ -2,10 +2,12 @@
|
||||
set -e
|
||||
|
||||
is_pro="false"
|
||||
if [[ "$VERSION" == *-pro ]]; then
|
||||
case "$VERSION" in
|
||||
*-pro)
|
||||
DISTRIBUTION="pro"
|
||||
is_pro="true"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
if test "$DISTRIBUTION" = "pro"; then
|
||||
echo "Using Pro distribution..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user