quaint-telephone-89068
11/24/2022, 12:59 PM.pants.bootstrap shell script, it will be sourced before invoking your Pants command so any environment variables that needs to be set or other functionality you need to happen for each call to ./pants may be placed into that file.
Example:
# .pants.bootstrap
# Ensure GIT_COMMIT is set
: ${GIT_COMMIT:=$(git rev-parse HEAD)}
# ...
Make sure you have these lines in your ./pants script. If not you need to update your local ./pants script first ;)
pantsbuild/pants