summaryrefslogtreecommitdiff
path: root/jenkinstool
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2012-09-29 16:19:05 +0100
committerLars Wirzenius <liw@liw.fi>2012-09-29 16:19:05 +0100
commit21fb320b6f3b5cedfa88e7509e332a8a7b488043 (patch)
tree53824c6035247c784e6d60c0228cb7818b8391b9 /jenkinstool
parent2d0cf87f0598810dbe5ea95a9ff866251e944157 (diff)
downloadjenkinstool-21fb320b6f3b5cedfa88e7509e332a8a7b488043.tar.gz
For CI builds, force dch to accept our version number
Otherwise, the committed debian/changelog may have a tentative upstream version number (1.2-1) that is newer than what the project actually reports (1.1), and we need to ignore that.
Diffstat (limited to 'jenkinstool')
-rwxr-xr-xjenkinstool2
1 files changed, 1 insertions, 1 deletions
diff --git a/jenkinstool b/jenkinstool
index 352bb9b..da76711 100755
--- a/jenkinstool
+++ b/jenkinstool
@@ -567,7 +567,7 @@ fi
# release build, going to Debian unstable.
if ! is_release "$project" "$version"
then
- dch -v "$debianversion" --distribution "$debian_dist" "CI build"
+ dch -b -v "$debianversion" --distribution "$debian_dist" "CI build"
dch -r ''
elif [ "$debian_dist" != unstable ]
then