mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
able to build without being in a git repository
This commit is contained in:
parent
b7af2e21e4
commit
2dc69cfdb0
1 changed files with 4 additions and 4 deletions
|
|
@ -1,9 +1,9 @@
|
|||
MUTABLE_VERSION ?= canary
|
||||
|
||||
GIT_COMMIT := $(shell git rev-parse HEAD)
|
||||
GIT_SHA := $(shell git rev-parse --short HEAD)
|
||||
GIT_TAG := $(shell git describe --tags --abbrev=0 2>/dev/null)
|
||||
GIT_DIRTY = $(shell test -n "`git status --porcelain`" && echo "dirty" || echo "clean")
|
||||
GIT_COMMIT ?= $(shell git rev-parse HEAD)
|
||||
GIT_SHA ?= $(shell git rev-parse --short HEAD)
|
||||
GIT_TAG ?= $(shell git describe --tags --abbrev=0 2>/dev/null)
|
||||
GIT_DIRTY ?= $(shell test -n "`git status --porcelain`" && echo "dirty" || echo "clean")
|
||||
|
||||
ifdef VERSION
|
||||
DOCKER_VERSION = $(VERSION)
|
||||
|
|
|
|||
Loading…
Reference in a new issue