spiff-arena/bin/pull-subtrees

18 lines
491 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
function error_handler() {
>&2 echo "Exited with BAD EXIT CODE '${2}' in ${0} script at line: ${1}."
exit "$2"
}
trap 'error_handler ${LINENO} $?' ERR
set -o errtrace -o errexit -o nounset -o pipefail
2022-10-12 15:07:01 +00:00
for subtree in "SpiffWorkflow" \
"spiffworkflow-backend" \
"spiffworkflow-frontend" \
2022-11-18 18:31:22 +00:00
"bpmn-js-spiffworkflow" \
"connector-proxy-demo"
2022-10-12 15:07:01 +00:00
do
2022-10-19 20:16:43 +00:00
GIT_MERGE_AUTOEDIT=no git subtree pull --prefix=$subtree git@github.com:sartography/$subtree.git main --squash
2022-10-12 15:07:01 +00:00
done