mirror of
https://github.com/wahyd4/cert-manager.git
synced 2026-08-09 21:26:04 +10:00
Allow overriding APP_GIT_COMMIT
Signed-off-by: James Munnelly <james@munnelly.eu>
This commit is contained in:
@@ -29,7 +29,7 @@ SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/../..
|
||||
if [ -z "${APP_VERSION:-}" ]; then
|
||||
APP_VERSION=canary
|
||||
fi
|
||||
APP_GIT_COMMIT=$(git rev-parse HEAD)
|
||||
APP_GIT_COMMIT=${APP_GIT_COMMIT:-$(git rev-parse HEAD)}
|
||||
GIT_STATE=""
|
||||
if [ ! -z "$(git status --porcelain)" ]; then
|
||||
GIT_STATE="dirty"
|
||||
|
||||
Reference in New Issue
Block a user