)
kernel_config = read_file(KERNEL_CONFIG_PATH)
# don't put the branch names into the packages names
- if GIT_BRANCH_NAME[7:] == 'master-'
+ if GIT_BRANCH_NAME[7:] == 'master-':
flavor=GIT_BRANCH_NAME[:7]
- elif GIT_BRANCH_NAME[8:] == 'develop-'
+ elif GIT_BRANCH_NAME[8:] == 'develop-':
flavor=GIT_BRANCH_NAME[:8]
- elif GIT_BRANCH_NAME[8:] == 'release-'
+ elif GIT_BRANCH_NAME[8:] == 'release-':
flavor=GIT_BRANCH_NAME[:8]
- elif GIT_BRANCH_NAME[7:] == 'hotfix-'
+ elif GIT_BRANCH_NAME[7:] == 'hotfix-':
flavor=GIT_BRANCH_NAME[:7]
localversion = '-profitbricks-%s' %(flavor)