From 2cfdaf751e707d1e83364dc514ce4bd491f2a26b Mon Sep 17 00:00:00 2001 From: "Zaiming (Stone) Shi" Date: Sat, 2 Jul 2022 10:15:19 +0200 Subject: [PATCH] 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. --- pkg-vsn.sh | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/pkg-vsn.sh b/pkg-vsn.sh index 20eead6f7..26bd2a5f0 100755 --- a/pkg-vsn.sh +++ b/pkg-vsn.sh @@ -120,19 +120,15 @@ fi OTP_VSN="${OTP_VSN:-$(./scripts/get-otp-vsn.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 - windows*) - ## alway directly build the default package for windows - IS_DEFAULT_RELEASE='yes' - ;; - *) - true - ;; - esac -fi +case "$SYSTEM" in + windows*) + # directly build the default package for windows + IS_DEFAULT_RELEASE='yes' + ;; + *) + true + ;; +esac UNAME="$(uname -m)" case "$UNAME" in