Mercurial > repos > blastem
view build_nightly @ 2491:6c834c281fa2
Some VGM player changes I forgot to commit
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Wed, 17 Apr 2024 21:55:30 -0700 |
parents | 866577a220e6 |
children |
line wrap: on
line source
#!/bin/sh set -e build_user=$1 needsu=$2 if [ "$needsu" = needsu ]; then su -l $build_user -c "$0 $1"; exit fi cd /home/$build_user/blastem 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 ./build_release