]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
morebah
authorHolger Levsen <holger@layer-acht.org>
Wed, 28 Sep 2011 14:40:45 +0000 (16:40 +0200)
committerHolger Levsen <holger@layer-acht.org>
Wed, 28 Sep 2011 14:40:45 +0000 (16:40 +0200)
debian_build.py

index f0e24dfb408149f23dd1521c2f6e6029a5f6c96f..7111abf842c44bcf22bc14a742eec99c7c8d87e2 100755 (executable)
@@ -376,10 +376,10 @@ if __name__ == '__main__':
         )
         exit_error()
 
-    if (options.distribution in ('testing', 'staging') or (options.distribution in ('unstable', 'pre-staging'):
+    if options.distribution in ('testing', 'staging', 'unstable', 'pre-staging'):
         daily_date = datetime.datetime.now().strftime('%Y%m%d%H%M%S')
 
-        if (options.distribution in ('testing', 'staging'):
+        if options.distribution in ('testing', 'staging'):
             version = '%s~rc%s-1' %(version, daily_date)
         else:
             version = '%s~develop%s-1' %(version, daily_date)