abstreet/data/package_for_releases.sh
Dustin Carlino b93f96628f hackily add a second city to the importer. remove the per-map
.gitignore; MANIFEST covers this better
2020-04-27 20:36:04 -07:00

21 lines
594 B
Bash
Executable File

#!/bin/bash
# Run from the base repo directory: ./data/package_for_releases.sh
set -e
if [ "$USER" != "dabreegster" ]; then
echo "Only Dustin runs this script, to automate releases.";
exit 1;
fi
mkdir release_data
cp -Rv data/system release_data
# Not worth blowing up the download size yet
rm -rfv release_data/system/maps/huge_seattle.bin release_data/system/scenarios/huge_seattle
rm -rfv release_data/system/maps/huge_austin.bin
rm -rfv release_data/system/scenarios/montlake/everyone_weekday.bin
zip -r release_data release_data
rm -rf release_data
mv -fv release_data.zip ~/Dropbox