mirror of
https://github.com/a-b-street/abstreet.git
synced 2024-12-20 21:01:33 +03:00
24 lines
421 B
Bash
Executable File
24 lines
421 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
|
|
|
|
rm -f release_data.zip
|