mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-03-01 01:40:42 +00:00
ensure we are not accidentally using main
This commit is contained in:
parent
924856a547
commit
4d0a1abaf0
@ -29,6 +29,12 @@ if [[ -z "${BPMN_SPEC_ABSOLUTE_DIR:-}" ]]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
export BPMN_SPEC_ABSOLUTE_DIR
|
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
|
fi
|
||||||
|
|
||||||
export FLASK_SESSION_SECRET_KEY=super_secret_key
|
export FLASK_SESSION_SECRET_KEY=super_secret_key
|
||||||
|
Loading…
x
Reference in New Issue
Block a user