create-repo-branch: Alpha is the branch for ppc64le

x86 has "releases" as the release branch. For
ppc64le, we have "alpha" branch. Update the scripts
for the same.

Fixes: #704

Signed-off-by: Nitesh Konkar <niteshkonkar@in.ibm.com>
This commit is contained in:
Nitesh Konkar
2019-09-06 23:32:51 +05:30
parent e13efacc0f
commit 5571361955

View File

@@ -153,9 +153,12 @@ main() {
[ -n "${branch}" ] || usage "missing branch" "1"
if [ "${create_ci_subproject:-false}" == "true" ];then
release_type="ci"
elif [ "$arch_target" == "ppc64le" ]; then
release_type="alpha"
else
release_type="releases"
fi
project_branch="${home_project}:${release_type}:${arch_target}:${branch}"
create_meta_xml "${project_branch}" "${branch}"
info "Creating/Updating project with name ${project_branch}"