mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-22 22:01:41 +03:00
19 lines
494 B
Bash
19 lines
494 B
Bash
|
#!/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
|
||
|
|
||
|
zip -r release_data release_data
|
||
|
rm -rf release_data
|
||
|
echo "Fire at will: mv release_data.zip ~/Dropbox"
|