mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-11-24 17:37:22 +03:00
25 lines
453 B
Bash
Executable File
25 lines
453 B
Bash
Executable File
#!/bin/bash
|
|
# Called by Github Actions workflow
|
|
|
|
set -e
|
|
|
|
output=$1;
|
|
runner=$2;
|
|
binary=$3;
|
|
|
|
mkdir $output
|
|
curl -L -o release_data.zip https://www.dropbox.com/s/wzw7gucvccoxy66/release_data.zip?dl=0
|
|
cd $output
|
|
unzip ../release_data.zip
|
|
mv release_data data
|
|
cd ..
|
|
|
|
cp docs/INSTRUCTIONS.md $output
|
|
cp release/$runner $output
|
|
mkdir $output/game
|
|
cp $binary $output/game
|
|
cp -Rv game/assets $output/game
|
|
|
|
zip -r $output $output
|
|
rm -rf $output release_data.zip
|