Mercurial > repos > blastem
diff build_upload_win_nightly @ 1248:d4ae118cf41d
build_upload_win_nightly needs some steps from build_nightly since it skips invoking that script and instead calls build_release directly
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Mon, 27 Feb 2017 00:02:20 -0800 |
parents | 8e911c57846c |
children | f249fd91b0f5 |
line wrap: on
line diff
--- a/build_upload_win_nightly Sun Feb 26 23:37:11 2017 -0800 +++ b/build_upload_win_nightly Mon Feb 27 00:02:20 2017 -0800 @@ -2,8 +2,11 @@ name=$1 cd $HOME/blastem_win +hg revert -a hg pull hg up +rev=`hg summary | sed -E -n 's/^parent: [^:]+:([^ ]+) .*$/\1/p'` +sed -i -E "s/(define BLASTEM_VERSION \"[^-]+)-pre\"/\1-pre-$rev\"/" blastem.c export OS=Windows ./build_release > /tmp/build_${name}_out.log . $HOME/remote.params