mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 02:51:55 +00:00
pkg: Only consider the package directory itself for dirty tracking.
Since this is what is used in the hash. Signed-off-by: Ian Campbell <ian.campbell@docker.com>
This commit is contained in:
parent
b6728a85e9
commit
4a3d5acb88
@ -5,7 +5,7 @@ ORG?=linuxkit
|
|||||||
HASH?=$(shell git ls-tree HEAD -- ../$(notdir $(CURDIR)) | awk '{print $$3}')
|
HASH?=$(shell git ls-tree HEAD -- ../$(notdir $(CURDIR)) | awk '{print $$3}')
|
||||||
BASE_DEPS=Dockerfile Makefile
|
BASE_DEPS=Dockerfile Makefile
|
||||||
|
|
||||||
DIRTY=$(shell git diff-index --quiet HEAD -- ) || echo "-dirty")
|
DIRTY=$(shell git diff-index --quiet HEAD -- ../$(notdir $(CURDIR)) || echo "-dirty")
|
||||||
TAG=$(HASH)$(DIRTY)
|
TAG=$(HASH)$(DIRTY)
|
||||||
|
|
||||||
# Get a release tag, if present
|
# Get a release tag, if present
|
||||||
|
Loading…
Reference in New Issue
Block a user