2022-10-21 10:48:02 -04:00
|
|
|
#!/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 11:07:01 -04:00
|
|
|
|
|
|
|
for subtree in "SpiffWorkflow" \
|
|
|
|
"spiffworkflow-backend" \
|
|
|
|
"spiffworkflow-frontend" \
|
2022-11-18 13:31:22 -05:00
|
|
|
"bpmn-js-spiffworkflow" \
|
|
|
|
"connector-proxy-demo"
|
2022-10-12 11:07:01 -04:00
|
|
|
do
|
2022-10-19 16:16:43 -04:00
|
|
|
GIT_MERGE_AUTOEDIT=no git subtree pull --prefix=$subtree git@github.com:sartography/$subtree.git main --squash
|
2022-10-12 11:07:01 -04:00
|
|
|
done
|