summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2017-08-03 11:22:40 -0400
committerDaniel Silverstone <dsilvers@digital-scurf.org>2017-08-03 11:22:40 -0400
commit755a12d5d3dc2242631d9c7773bb50cc6475e445 (patch)
tree3b26f2ce3df0d7bb95665267b0f753030dce6c4e
parent8a8c6e547e5110e25153a14a18d805950034fb91 (diff)
downloadgp-packaging-tools-755a12d5d3dc2242631d9c7773bb50cc6475e445.tar.bz2
Support -b for bad source version
-rwxr-xr-xgp-generate-source2
1 files changed, 1 insertions, 1 deletions
diff --git a/gp-generate-source b/gp-generate-source
index 15131eb..eeb8fbf 100755
--- a/gp-generate-source
+++ b/gp-generate-source
@@ -17,7 +17,7 @@ local HAVE_D_VER = assert(io.popen("dpkg-parsechangelog -S Version")):read("*l")
local dist = assert(io.popen("dpkg-parsechangelog -S Distribution")):read("*l")
if WANT_D_VER ~= HAVE_D_VER then
- run(("dch -v '%s' 'Prepare CI build'"):format(WANT_D_VER))
+ run(("dch -b -v '%s' 'Prepare CI build'"):format(WANT_D_VER))
run(("dch --force-distribution -D ci-%s ''"):format(dist == "UNRELEASED" and "unstable" or dist))
else
assert(dist ~= "UNRELEASED")