From: Holger Levsen Date: Tue, 17 Jan 2012 16:58:08 +0000 (+0100) Subject: add support for experimental suite X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=8725a271d150b946730c5451172eae433edcf164;p=profitbricks%2Fjenkins-build-scripts.git add support for experimental suite --- diff --git a/debian_build.py b/debian_build.py index d043b64..332c370 100755 --- a/debian_build.py +++ b/debian_build.py @@ -338,7 +338,7 @@ if __name__ == '__main__': ) exit_error() - if options.distribution in ('testing', 'staging', 'unstable', 'pre-staging'): + if options.distribution in ('testing', 'staging', 'unstable', 'pre-staging','experimental'): daily_date = datetime.datetime.now().strftime('%Y%m%d%H%M%S') if options.distribution in ('testing', 'staging'): @@ -395,7 +395,9 @@ if __name__ == '__main__': cmd = ['/usr/bin/git', 'commit', '-a', '-m', 'add new changelog entry'] subprocess.check_call(cmd) - if options.distribution in ('unstable' , 'experimental', 'pre-staging'): + if options.distribution in ('experimental'): + pb_suite='experimental' + elif options.distribution in ('unstable' , 'experimental', 'pre-staging'): pb_suite='pre-staging' elif options.distribution in ('testing', 'staging'): pb_suite='staging'