Commit 40b97d83 authored by Vishal Bhoj's avatar Vishal Bhoj
Browse files

Merge branch 'fix_multiproject_ci' into 'main'

Check project remote as well while patching manifest

Closes #17

See merge request !147
parents 704e1368 1dad6dd5
Pipeline #29671 passed with stages
in 174 minutes and 24 seconds
......@@ -13,9 +13,9 @@ do
fi
echo "Patching $2 with project: ${PROJECT_NAME} and branch: ${PROJECT_BRANCH}"
xmlstarlet edit --inplace \
--update "//extend-project[@name=\"${PROJECT_NAME}\"]/@revision" \
--update "//extend-project[@name=\"${PROJECT_NAME}\" and starts-with(@remote, 'morello')]/@revision" \
--value ${PROJECT_BRANCH} ${2}
xmlstarlet edit --inplace \
--update "//project[@name=\"${PROJECT_NAME}\"]/@revision" \
--update "//project[@name=\"${PROJECT_NAME}\" and starts-with(@remote, 'morello')]/@revision" \
--value ${PROJECT_BRANCH} ${2}
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment