mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-06 11:20:17 +00:00
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:
@@ -153,9 +153,12 @@ main() {
|
|||||||
[ -n "${branch}" ] || usage "missing branch" "1"
|
[ -n "${branch}" ] || usage "missing branch" "1"
|
||||||
if [ "${create_ci_subproject:-false}" == "true" ];then
|
if [ "${create_ci_subproject:-false}" == "true" ];then
|
||||||
release_type="ci"
|
release_type="ci"
|
||||||
|
elif [ "$arch_target" == "ppc64le" ]; then
|
||||||
|
release_type="alpha"
|
||||||
else
|
else
|
||||||
release_type="releases"
|
release_type="releases"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
project_branch="${home_project}:${release_type}:${arch_target}:${branch}"
|
project_branch="${home_project}:${release_type}:${arch_target}:${branch}"
|
||||||
create_meta_xml "${project_branch}" "${branch}"
|
create_meta_xml "${project_branch}" "${branch}"
|
||||||
info "Creating/Updating project with name ${project_branch}"
|
info "Creating/Updating project with name ${project_branch}"
|
||||||
|
Reference in New Issue
Block a user