new release (and finally add a little more automation for this step)

This commit is contained in:
Dustin Carlino 2021-01-03 12:23:47 -08:00
parent 54968abeb1
commit 53227b6ec6
6 changed files with 36 additions and 10 deletions

View File

@ -6,9 +6,9 @@ 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.2.24/abstreet_windows_v0_2_24.zip),
[Mac](https://github.com/dabreegster/abstreet/releases/download/v0.2.24/abstreet_mac_v0_2_24.zip),
[Linux](https://github.com/dabreegster/abstreet/releases/download/v0.2.24/abstreet_linux_v0_2_24.zip),
[Windows](https://github.com/dabreegster/abstreet/releases/download/v0.2.25/abstreet_windows_v0_2_25.zip),
[Mac](https://github.com/dabreegster/abstreet/releases/download/v0.2.25/abstreet_mac_v0_2_25.zip),
[Linux](https://github.com/dabreegster/abstreet/releases/download/v0.2.25/abstreet_linux_v0_2_25.zip),
[FreeBSD](https://www.freshports.org/games/abstreet/),
[your web browser](http://abstreet.s3-website.us-east-2.amazonaws.com/dev/game), or
[read all instructions](https://dabreegster.github.io/abstreet/howto/index.html)

View File

@ -9,10 +9,10 @@ hit problems.
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.2.24/abstreet_windows_v0_2_24.zip)
- [Windows](https://github.com/dabreegster/abstreet/releases/download/v0.2.25/abstreet_windows_v0_2_25.zip)
- Unzip the folder, then run `play_abstreet.bat`. You'll probably getting a
warning about running software from an unknown publisher.
- [Mac](https://github.com/dabreegster/abstreet/releases/download/v0.2.24/abstreet_mac_v0_2_24.zip)
- [Mac](https://github.com/dabreegster/abstreet/releases/download/v0.2.25/abstreet_mac_v0_2_25.zip)
- Unzip the directory, then run `play_abstreet.sh`.
- If you get an error about the developer unverified,
[follow this](https://support.apple.com/guide/mac-help/open-a-mac-app-from-an-unidentified-developer-mh40616/mac).
@ -23,7 +23,7 @@ Grab a pre-built binary release -- updated every Sunday, announced at
`cd game; RUST_BACKTRACE=1 ./game 1> ../output.txt 2>&1`
- [Help needed](https://github.com/dabreegster/abstreet/issues/77) to package
this as a Mac .app, to make this process simpler
- [Linux](https://github.com/dabreegster/abstreet/releases/download/v0.2.24/abstreet_linux_v0_2_24.zip)
- [Linux](https://github.com/dabreegster/abstreet/releases/download/v0.2.25/abstreet_linux_v0_2_25.zip)
- Unzip the directory, then run `play_abstreet.sh`.
- [FreeBSD](https://www.freshports.org/games/abstreet/), thanks to
[Yuri](https://github.com/yurivict)

View File

@ -3,6 +3,10 @@
A/B Street has been under active development since June 2018. That's a long time
-- what work is happening now and how can you contribute?
[See this doc](https://docs.google.com/document/d/1oV4mdtb0ve-wf0HqbEvR9IwXLIkTeDu8a3UnJxnr2F0/edit?usp=sharing)
for the 2021 roadmap. The rest of this page was written in June 2020. After this
year's plans firm up a bit, I'll update this page.
## Next steps, summer 2020
Afer the alpha launch in June, I plan to focus on:

View File

@ -18,9 +18,9 @@ Contact <dabreegster@gmail.com> with any feedback or
- [Play online](http://abstreet.s3-website.us-east-2.amazonaws.com/dev/santa)
(slower and no music -- download below if possible)
- [Windows](https://github.com/dabreegster/abstreet/releases/download/v0.2.24/abstreet_windows_v0_2_24.zip)
- [Mac](https://github.com/dabreegster/abstreet/releases/download/v0.2.24/abstreet_mac_v0_2_24.zip)
- [Linux](https://github.com/dabreegster/abstreet/releases/download/v0.2.24/abstreet_linux_v0_2_24.zip)
- [Windows](https://github.com/dabreegster/abstreet/releases/download/v0.2.25/abstreet_windows_v0_2_25.zip)
- [Mac](https://github.com/dabreegster/abstreet/releases/download/v0.2.25/abstreet_mac_v0_2_25.zip)
- [Linux](https://github.com/dabreegster/abstreet/releases/download/v0.2.25/abstreet_linux_v0_2_25.zip)
Unzip, then run `santa.exe` or `santa`. No mobile/tablet support, sorry -- you need a keyboard.

View File

@ -12,7 +12,7 @@ use crate::tools::PopupMsg;
use crate::AppLike;
// Update this ___before___ pushing the commit with "[rebuild] [release]".
const NEXT_RELEASE: &str = "0.2.25";
const NEXT_RELEASE: &str = "0.2.26";
pub struct Picker<A: AppLike> {
panel: Panel,

22
release/update_docs.sh Executable file
View File

@ -0,0 +1,22 @@
#!/bin/bash
# Manually run after pushing the Github release
set -e
MAJOR=0
MINOR=2
OLD_PATCH=$1
NEW_PATCH=$2
if [ "$OLD_PATCH" == "" ] || [ "$NEW_PATCH" == "" ]; then
echo Missing args;
exit 1;
fi
perl -pi -e "s/${MAJOR}_${MINOR}_${OLD_PATCH}/${MAJOR}_${MINOR}_${NEW_PATCH}/g" README.md book/src/howto/README.md book/src/side_projects/santa.md
perl -pi -e "s/${MAJOR}\.${MINOR}\.${OLD_PATCH}/${MAJOR}\.${MINOR}\.${NEW_PATCH}/g" README.md book/src/howto/README.md book/src/side_projects/santa.md
echo "Don't forget to:"
echo "1) aws s3 cp --recursive s3://abstreet/dev/data/system s3://abstreet/${MAJOR}.${MINOR}.${NEW_PATCH}/data/system"
echo "2) ./release/deploy_web.sh"
echo "3) Post to r/abstreet"
echo "4) Update map_gui/src/tools/updater.rs"