Browse Source

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

Baptiste Augrain 3 years ago
parent
commit
083e25d289
1 changed files with 1 additions and 1 deletions
  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"