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(