# HG changeset patch # User Michael Pavone # Date 1488182540 28800 # Node ID d4ae118cf41d3bcb12a875b72eafafb359a2e471 # Parent 4ec5972adffa61fa73d0aa2b5b0d7232065cce3b build_upload_win_nightly needs some steps from build_nightly since it skips invoking that script and instead calls build_release directly diff -r 4ec5972adffa -r d4ae118cf41d build_upload_win_nightly --- 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