Skip to content

Commit

Permalink
Merge pull request #302 from Poobslag/rename-linux-file
Browse files Browse the repository at this point in the history
Rename linux export to match old filename
  • Loading branch information
Poobslag authored Mar 14, 2024
2 parents 9e08e04 + a4f8c73 commit c94a4f1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,15 @@ if [ -f "$html5_zip_filename" ]; then
rm "$html5_zip_filename"
fi

linux_export_filename="project/export/linux-x11/frog-finder-linux-v$version.x86_64.zip"
linux_new_filename="project/export/linux-x11/frog-finder-linux-v$version.zip"

# Rename the linux zip file
if [ -f "$linux_export_filename" ]; then
echo "Renaming $linux_export_filename to $linux_new_filename"
mv -f "$linux_export_filename" "$linux_new_filename"
fi

# Assemble the html5 zip file
echo "Packaging $html5_zip_filename"
zip "$html5_zip_filename" "$html5_export_path/*" -x "*.zip" "$html5_export_path/.*" "*.import" -j

0 comments on commit c94a4f1

Please # to comment.