浏览代码

fix(linux): use find/mv instead of rename [skip ci]

Baptiste Augrain 3 年之前
父节点
当前提交
083e25d289
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      prepare_artifacts.sh

+ 1 - 1
prepare_artifacts.sh

@@ -148,7 +148,7 @@ else
     echo "Moving AppImage"
     mv build/linux/appimage/out/*.AppImage* artifacts/
 
-    rename '_-_' '-' artifacts/*.AppImage
+    find artifacts -name '*.AppImage*' -exec bash -c 'mv $0 ${0/_-_/-}' {} \;
   fi
 
   VSCODE_PLATFORM="linux"