Mercurial > hg
diff contrib/builddeb @ 29093:c4f0e764b231 stable
builddeb: add distroseries to tagged versions
This is needed so that launchpad and friends have a unique version number for
each distroseries (trusty, wily, xenial, etc). It was discovered when trying to
upload 3.8 to launchpad.
author | Sean Farley <sean@farley.io> |
---|---|
date | Fri, 06 May 2016 14:09:11 -0700 |
parents | 6b95a623ec90 |
children | f1c2552c2de7 |
line wrap: on
line diff
--- a/contrib/builddeb Sun May 01 15:26:41 2016 -0700 +++ b/contrib/builddeb Fri May 06 14:09:11 2016 -0700 @@ -58,6 +58,10 @@ fi if [ -n "$distance" ] ; then debver="$debver+$distance-$CODENAME-$node" +elif [ "$DEBFLAGS" = "-S" ] ; then + # for building a ppa (--source-only) for a release (distance == 0), we need + # to version the distroseries so that we can upload to launchpad + debver="$debver~${CODENAME}1" fi control=debian/control