From 336530b66015bf26e3beab7d4c8ac868e48726e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 4 Aug 2010 17:01:56 +0200 Subject: [PATCH] set release number to zero if not specified via commandline or server otherwise --- osc/build.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osc/build.py b/osc/build.py index 95d52805..4236d293 100644 --- a/osc/build.py +++ b/osc/build.py @@ -593,6 +593,8 @@ def main(apiurl, opts, argv): if bi.release: buildargs.append('--release %s' % bi.release) + else: + buildargs.append('--release 0') # real arch of this machine # vs.