···44# First, collect metadata from git about the current commit
55_COMMIT_SHA_LOCAL=$(git rev-parse HEAD)
66_BRANCH_NAME_SLUG_LOCAL=$(git rev-parse --abbrev-ref HEAD | tr / -)
77-_TIMESTAMP_LOCAL=$(date -u +"%Y%m%d%H%M%S")
77+TIMESTAMP=$(date -u +"%Y%m%d%H%M%S")
8899# Then try to get the same info from GitLab CI environment variables, if available
1010COMMIT_SHA=${CI_COMMIT_SHA:-$_COMMIT_SHA_LOCAL}