浏览代码

Merge pull request #121 from stripedpajamas/fix-macos-check

Update check for Mac artifact
Peter Squicciarini 6 年之前
父节点
当前提交
a12f6d7dce
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      check_tags.sh

+ 1 - 1
check_tags.sh

@@ -10,7 +10,7 @@ echo "VSCodium assets: ${VSCODIUM_ASSETS}"
 if [ "$GITHUB_TOKEN" != "" ]; then
   if [ "$VSCODIUM_ASSETS" != "null" ]; then
     if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
-      HAVE_MAC=$(echo $VSCODIUM_ASSETS | jq 'map(.name) | contains(["zip"])')
+      HAVE_MAC=$(echo $VSCODIUM_ASSETS | jq --arg suffix "darwin-$LATEST_MS_TAG.zip" 'map(.name) | contains([$suffix])')
       if [[ "$HAVE_MAC" != "true" ]]; then
         echo "Building on Mac because we have no ZIP"
         export SHOULD_BUILD="yes"