1
0
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:
Bartek Pacia 2024-04-01 19:08:58 +02:00 committed by GitHub
parent f36318b6fd
commit 8d3cd4cef6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

6
www/docs/static/run vendored
View File

@ -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..."