From 679998b6d66c10b5d4bbd53840f152c77c45b1aa Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 15 Feb 2012 17:20:58 +0100 Subject: [PATCH] spaghetti code is starting to hurt --- debian_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian_build.py b/debian_build.py index 6799289..905dbb3 100755 --- a/debian_build.py +++ b/debian_build.py @@ -418,7 +418,7 @@ if __name__ == '__main__': cmd = ['/usr/bin/git', 'commit', '-a', '-m', 'add new changelog entry'] subprocess.check_call(cmd) - if options.distribution in ('experimental'): + if GIT_BRANCH_NAME == 'experimental' or GIT_BRANCH_NAME.startswith('feature/') or GIT_BRANCH_NAME.startswith('poc/') or GIT_BRANCH_NAME.startswith('bugfix/'): pb_suite=changelog_distro elif GIT_BRANCH_NAME.startswith('release/') or options.distribution in ('unstable' , 'pre-staging'): pb_suite='pre-staging' -- 2.39.5