From: Holger Levsen Date: Wed, 28 Sep 2011 14:40:45 +0000 (+0200) Subject: morebah X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=bed3c29bc0376a4ba6d48e397ebb6e3a115b433e;p=profitbricks%2Fjenkins-build-scripts.git morebah --- diff --git a/debian_build.py b/debian_build.py index f0e24df..7111abf 100755 --- a/debian_build.py +++ b/debian_build.py @@ -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)