]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
add support for experimental suite
authorHolger Levsen <holger@layer-acht.org>
Tue, 17 Jan 2012 16:58:08 +0000 (17:58 +0100)
committerHolger Levsen <holger@layer-acht.org>
Tue, 17 Jan 2012 16:58:08 +0000 (17:58 +0100)
debian_build.py

index d043b645c6177cf340675bb2bcecee494c4b8cf3..332c370331517e4f0cca3e245ca01faa9792ecdf 100755 (executable)
@@ -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'