|
|
|
@ -112,9 +112,12 @@ echo " - Zipping files...";
|
|
|
|
|
cd "$tmpdir" || abort "Can't cd to $tmpdir";
|
|
|
|
|
zip -r9q "$tmpdir/release.zip" "." || abort "Can't zip package";
|
|
|
|
|
cd "$workdir" || abort "Can't cd to $workdir";
|
|
|
|
|
|
|
|
|
|
[ -f "$tmpdir/release.zip" ] || abort "Zip failed";
|
|
|
|
|
|
|
|
|
|
# Post build actions
|
|
|
|
|
|
|
|
|
|
post_build_actions;
|
|
|
|
|
|
|
|
|
|
# Copy zip
|
|
|
|
|
|
|
|
|
|
echo " ";
|
|
|
|
@ -124,10 +127,6 @@ mkdir -p "$reldir";
|
|
|
|
|
mv -f "$tmpdir/release.zip" "$reldir/MinMicroG-$variant-$ver-$buildtime.zip";
|
|
|
|
|
[ -f "$reldir/MinMicroG-$variant-$ver-$buildtime.zip" ] || abort "Move failed";
|
|
|
|
|
|
|
|
|
|
# Post build actions
|
|
|
|
|
|
|
|
|
|
post_build_actions;
|
|
|
|
|
|
|
|
|
|
# Done
|
|
|
|
|
|
|
|
|
|
echo " ";
|
|
|
|
|