Mercurial > hg
diff contrib/builddeb @ 28993:837119bf7f01 stable
builddeb: create source archive for ubuntu
author | Sean Farley <sean@farley.io> |
---|---|
date | Sat, 16 Apr 2016 17:06:11 -0700 |
parents | dd7b72b55f3e |
children | 8797f03db5b6 |
line wrap: on
line diff
--- a/contrib/builddeb Fri Apr 15 15:44:00 2016 -0700 +++ b/contrib/builddeb Sat Apr 16 17:06:11 2016 -0700 @@ -72,6 +72,10 @@ sed -i.tmp "s/__CODENAME__/$CODENAME/" $changelog rm $changelog.tmp + # remove the node from the version string + SRCFILE="mercurial_$(echo $debver | sed "s,-$node,,").orig.tar.gz" + "$PWD/hg" archive $SRCFILE + mv $SRCFILE .. debuild -us -uc -i -I -b if [ $? != 0 ]; then echo 'debuild failed!'