فهرست منبع

ci: no special handing for windows package name

windows packages for 5.0.0 and 5.0.1 were release using long package
name (with otp version).
but we have manually made a copy of the package to default (short) name
and uploaded to s3.
going forward, windows packages will only release on default (short)
names because we never support relup for windows
Zaiming (Stone) Shi 3 سال پیش
والد
کامیت
28535f27ed
1فایلهای تغییر یافته به همراه7 افزوده شده و 3 حذف شده
  1. 7 3
      scripts/relup-build/download-base-packages.sh

+ 7 - 3
scripts/relup-build/download-base-packages.sh

@@ -27,9 +27,13 @@ case $PROFILE in
         ;;
         ;;
 esac
 esac
 
 
-UNAME="$(uname -s)"
-case "$UNAME" in
-    Darwin)
+SYSTEM="$(./scripts/get-distro.sh)"
+case "$SYSTEM" in
+    windows*)
+        echo "NOTE: no_relup_for_windows"
+        exit 0
+        ;;
+    macos*)
         SHASUM="shasum -a 256"
         SHASUM="shasum -a 256"
         ;;
         ;;
     *)
     *)