Merge branch 'main' of github.com:sartography/spiff-arena

This commit is contained in:
jasquat 2023-01-06 12:00:27 -05:00
commit dc0930965b
1 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,12 @@ if [[ -z "${BPMN_SPEC_ABSOLUTE_DIR:-}" ]]; then
fi
fi
export BPMN_SPEC_ABSOLUTE_DIR
pushd "$BPMN_SPEC_ABSOLUTE_DIR"
if [[ "$(git rev-parse --abbrev-ref HEAD)" == "main" ]]; then
>&2 echo "ERROR: please do not use the main branch of sample-process-models. use dev"
exit 1
fi
popd
fi
export FLASK_SESSION_SECRET_KEY=super_secret_key