patch yesterday's release -- the building info panel crash is too easy to hit. also introduce a release script for my own sanity

This commit is contained in:
Dustin Carlino 2020-02-10 10:33:21 -08:00
parent 9c5ea334e0
commit e367a5b218
4 changed files with 44 additions and 6 deletions

View File

@ -5,9 +5,9 @@ road instead of a bus lane? A/B Street is a game exploring how small changes to
a city affect the movement of drivers, cyclists, transit users, and pedestrians.
- Play on
[Windows](https://github.com/dabreegster/abstreet/releases/download/v0.1.27/abstreet_windows_v0_1_27.zip),
[Mac](https://github.com/dabreegster/abstreet/releases/download/v0.1.27/abstreet_mac_v0_1_27.zip),
[Linux](https://github.com/dabreegster/abstreet/releases/download/v0.1.27/abstreet_linux_v0_1_27.zip),
[Windows](https://github.com/dabreegster/abstreet/releases/download/v0.1.27a/abstreet_windows_v0_1_27a.zip),
[Mac](https://github.com/dabreegster/abstreet/releases/download/v0.1.27a/abstreet_mac_v0_1_27a.zip),
[Linux](https://github.com/dabreegster/abstreet/releases/download/v0.1.27a/abstreet_linux_v0_1_27a.zip),
or [read all instructions](docs/INSTRUCTIONS.md)
- [build from source](docs/dev.md)

View File

@ -288,3 +288,7 @@ changes here.
- internal change to render all text using vector graphics. other than a few text layouting issues, shouldn't be noticeable, except now tooltips in plots don't get covered up
- misc perf improvements (cache SVGs, drawing many circles for unzoomed agents, dont reload prebaked data)
- upgraded winit, glutin, glium -- hopefully no new bugs introduced on any platforms
0.1.27a
- patch to fix a crash with empty text dimensions on things like building info panels

View File

@ -12,11 +12,11 @@ Grab a pre-built binary release -- updated every Sunday, announced at
[r/abstreet](http://old.reddit.com/r/abstreet):
- Windows:
https://github.com/dabreegster/abstreet/releases/download/v0.1.27/abstreet_windows_v0_1_27.zip
https://github.com/dabreegster/abstreet/releases/download/v0.1.27a/abstreet_windows_v0_1_27a.zip
- Mac:
https://github.com/dabreegster/abstreet/releases/download/v0.1.27/abstreet_mac_v0_1_27.zip
https://github.com/dabreegster/abstreet/releases/download/v0.1.27a/abstreet_mac_v0_1_27a.zip
- Linux:
https://github.com/dabreegster/abstreet/releases/download/v0.1.27/abstreet_linux_v0_1_27.zip
https://github.com/dabreegster/abstreet/releases/download/v0.1.27a/abstreet_linux_v0_1_27a.zip
Unzip the folder, then run `play_abstreet.sh` or `play_abstreet.bat`. On
Windows, you'll probably get a warning about running software from an unknown

34
release/finalize.sh Executable file
View File

@ -0,0 +1,34 @@
#!/bin/bash
# Run from ~/Downloads. Work around Github Actions annoyances.
set -e
VERSION=$1
if [ "$VERSION" == "" ]; then
echo You forgot to pass version
exit 1
fi
echo y | unzip abst_linux.zip
unzip abst_linux.zip
rm -f abst_linux.zip
mv abst_linux abstreet_linux_$VERSION
echo y | unzip abst_mac.zip
unzip abst_mac.zip
rm -f abst_mac.zip
mv abst_mac abstreet_mac_$VERSION
cp -Rv abstreet_mac_$VERSION abstreet_windows_$VERSION
cd abstreet_windows_$VERSION
rm -f play_abstreet.sh
cp ~/abstreet/release/play_abstreet.bat .
cd game
rm -f game
unzip ~/Downloads/game_exe.zip
rm -f ~/Downloads/game_exe.zip
cd ../..
zip -r abstreet_linux_$VERSION abstreet_linux_$VERSION
zip -r abstreet_mac_$VERSION abstreet_mac_$VERSION
zip -r abstreet_windows_$VERSION abstreet_windows_$VERSION