scm-source: output full SHA, not the short one (#143)

This commit is contained in:
aermakov-zalando
2017-08-20 19:02:25 +02:00
committed by Henning Jacobs
parent 92baceb184
commit 35b9207b73

View File

@@ -3,7 +3,7 @@
IMAGE ?= hjacobs/kube-ops-view IMAGE ?= hjacobs/kube-ops-view
VERSION ?= $(shell git describe --tags --always --dirty) VERSION ?= $(shell git describe --tags --always --dirty)
TAG ?= $(VERSION) TAG ?= $(VERSION)
GITHEAD = $(shell git rev-parse --short HEAD) GITHEAD = $(shell git rev-parse HEAD)
GITURL = $(shell git config --get remote.origin.url) GITURL = $(shell git config --get remote.origin.url)
GITSTATUS = $(shell git status --porcelain || echo "no changes") GITSTATUS = $(shell git status --porcelain || echo "no changes")
TTYFLAGS = $(shell test -t 0 && echo "-it") TTYFLAGS = $(shell test -t 0 && echo "-it")