File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 exit 0
2626}
2727
28- DEBUILD_FLAGS=" -us -uc -i -I.git"
28+ [ -z " $DEBUILD_FLAGS " ] && DEBUILD_FLAGS=" -us -uc -i -I.git"
2929
3030if [ -z " $1 " ]; then
3131 help
@@ -100,7 +100,7 @@ bzr revert
100100EPOCH=$( dpkg-parsechangelog | sed ' /Version/!d; s/.* //; s/:.*//;' )
101101TODAY=$( date +%Y%m%d)
102102# actually bump the changelog up. don't include a git hash here right now.
103- dch -b -v $EPOCH :0.$GIT_MAJOR_RELEASE .$GIT_MINOR_RELEASE$DELIMITTER$GIT_TYPE .$TODAY .-$DEBIAN_SUFFIX " "
103+ dch -b -v $EPOCH :0.$GIT_MAJOR_RELEASE .$GIT_MINOR_RELEASE$DELIMITTER$GIT_TYPE .$TODAY .-$DEBIAN_SUFFIX " Automated Build "
104104
105105# clean up any old patches (just in case)
106106if [ -d .pc ]; then
155155# update changelog and control files
156156debian/rules update-control-files
157157
158+ # mark the ubuntu target in the changelog
159+ [ -z " $UBUNTU_RELEASE " ] && UBUNTU_RELEASE=$( lsb_release -s -c)
160+ dch -b --force-distribution -D $UBUNTU_RELEASE " "
161+
158162# build the packages
159163debuild $DEBUILD_FLAGS
160164
You can’t perform that action at this time.
0 commit comments