(experiment) bugfix arm check and skip RPM for arms

This commit is contained in:
Peter Squicciarini 2020-10-05 19:48:04 -07:00
parent 07ec36ff69
commit 9f3136fd35
2 changed files with 5 additions and 2 deletions

View file

@ -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"
if [[ "$VSCODE_ARCH" == "x64" ]]; then
yarn gulp "vscode-linux-${VSCODE_ARCH}-build-rpm"
fi
. ../create_appimage.sh
fi

View file

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