Skip to content

Commit

Permalink
调整打包脚本中将构建产物打包成zip的处理
Browse files Browse the repository at this point in the history
  • Loading branch information
Qi, Xiaoqiang committed Sep 24, 2024
1 parent 88060b7 commit 9c8d463
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/linuxpackager
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ packageConfig="{
echo "$packageConfig" > "dist/$PACKAGE_CONFIG_NAME/config.json";

# 将dist/$PACKAGE_CONFIG_NAME目录压缩为zip文件
zip -r "$PACKAGE_CONFIG_NAME.zip" "dist/$PACKAGE_CONFIG_NAME/" && mv "$PACKAGE_CONFIG_NAME.zip" dist/
cd dist/
zip -r "$PACKAGE_CONFIG_NAME.zip" "$PACKAGE_CONFIG_NAME/"

echo "Finished! Filename: $OUTPUT_FILE"

0 comments on commit 9c8d463

Please sign in to comment.