chore: explicitly disable base image downloading for windows

we can technically support relup for windows
but currently there is no such requirement made from any
users, not opensource users, not commercial users either.
This commit is contained in:
Zaiming (Stone) Shi 2022-07-02 10:15:19 +02:00
parent 28535f27ed
commit 2cfdaf751e
1 changed files with 9 additions and 13 deletions

View File

@ -120,19 +120,15 @@ fi
OTP_VSN="${OTP_VSN:-$(./scripts/get-otp-vsn.sh)}" OTP_VSN="${OTP_VSN:-$(./scripts/get-otp-vsn.sh)}"
SYSTEM="$(./scripts/get-distro.sh)" SYSTEM="$(./scripts/get-distro.sh)"
if [ "${PKG_VSN:-}" = 'v5.0.0' ]; then
# 5.0.0 is released only with a full name package
# e.g. 5.0.0-otp24.2.1-1-ubuntu20.04-amd64
case "$SYSTEM" in case "$SYSTEM" in
windows*) windows*)
## alway directly build the default package for windows # directly build the default package for windows
IS_DEFAULT_RELEASE='yes' IS_DEFAULT_RELEASE='yes'
;; ;;
*) *)
true true
;; ;;
esac esac
fi
UNAME="$(uname -m)" UNAME="$(uname -m)"
case "$UNAME" in case "$UNAME" in