From 33319913b41ec05880b8bcb4e31e11610572161b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 15 Feb 2012 14:42:19 +0100 Subject: [PATCH] release builds should go to pre-staging --- debian_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian_build.py b/debian_build.py index 66f49de..54ee3d0 100755 --- a/debian_build.py +++ b/debian_build.py @@ -420,9 +420,9 @@ if __name__ == '__main__': if options.distribution in ('experimental'): pb_suite=changelog_distro - elif options.distribution in ('unstable' , 'pre-staging'): + elif GIT_BRANCH_NAME.startswith('release/') or options.distribution in ('unstable' , 'pre-staging'): pb_suite='pre-staging' - elif GIT_BRANCH_NAME.startswith('release/') or GIT_BRANCH_NAME.startswith('hotfix/') or options.distribution in ('stable', 'stable-proposed-updates', 'production', 'production-proposed-updates'): + elif GIT_BRANCH_NAME.startswith('hotfix/') or options.distribution in ('stable', 'stable-proposed-updates', 'production', 'production-proposed-updates'): pb_suite='production-proposed-updates' gbp = git_buildpackage.GitBuildPackage( -- 2.39.5