ソースを参照

(experiment) bugfix arm check and skip RPM for arms

Peter Squicciarini 4 年 前
コミット
9f3136fd35
2 ファイル変更5 行追加2 行削除
  1. 4 1
      build.sh
  2. 1 1
      check_tags.sh

+ 4 - 1
build.sh

@@ -39,7 +39,10 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
     yarn gulp vscode-linux-${VSCODE_ARCH}-min-ci
 
     yarn gulp "vscode-linux-${VSCODE_ARCH}-build-deb"
-    yarn gulp "vscode-linux-${VSCODE_ARCH}-build-rpm"
+
+    if [[ "$VSCODE_ARCH" == "x64" ]]; then
+      yarn gulp "vscode-linux-${VSCODE_ARCH}-build-rpm"
+    fi
     . ../create_appimage.sh
   fi
 

+ 1 - 1
check_tags.sh

@@ -29,7 +29,7 @@ if [ "$GITHUB_TOKEN" != "" ]; then
       if [[ "$SHOULD_BUILD" != "yes" ]]; then
         echo "Already have all the Linux arm64 builds"
       fi
-    elif [[ $VSCODE_ARCH == "armhf" ]]; then
+    elif [[ $VSCODE_ARCH == "arm" ]]; then
       HAVE_ARM_DEB=$(echo $VSCODIUM_ASSETS | jq 'map(.name) | contains(["armhf.deb"])')
       HAVE_ARM_TAR=$(echo $VSCODIUM_ASSETS | jq --arg suffix "arm-$LATEST_MS_TAG.tar.gz" 'map(.name) | contains([$suffix])')
       if [[ "$HAVE_ARM_DEB" != "true" ]]; then