mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-24 17:37:22 +03:00
1b1f191663
[rebuild]
25 lines
452 B
Bash
Executable File
25 lines
452 B
Bash
Executable File
#!/bin/bash
|
|
# Called by Github Actions workflow
|
|
|
|
set -e
|
|
|
|
output=$1;
|
|
runner=$2;
|
|
binary=$3;
|
|
|
|
mkdir $output
|
|
cd $output
|
|
../data/grab_minimal_seed_data.sh
|
|
cd ..
|
|
|
|
cp docs/INSTRUCTIONS.md $output
|
|
cp release/$runner $output
|
|
mkdir $output/game
|
|
cp $binary $output/game
|
|
cp -Rv game/assets $output/game
|
|
|
|
# TODO Github will double-zip this, but if we just pass the directory, then the
|
|
# chmod +x bits get lost
|
|
zip -r $output $output
|
|
rm -rf release_data.zip $output
|