mirror of https://github.com/stashapp/stash.git
Use short git hash to be consistent with github
This commit is contained in:
parent
21a9baabb9
commit
eb0cd674c1
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ endif
|
||||||
|
|
||||||
build:
|
build:
|
||||||
$(eval DATE := $(shell go run scripts/getDate.go))
|
$(eval DATE := $(shell go run scripts/getDate.go))
|
||||||
$(eval GITHASH := $(shell git rev-parse HEAD))
|
$(eval GITHASH := $(shell git rev-parse --short HEAD))
|
||||||
$(SET) CGO_ENABLED=1 $(SEPARATOR) go build -mod=vendor -v -ldflags "-X 'github.com/stashapp/stash/pkg/api.buildstamp=$(DATE)' -X 'github.com/stashapp/stash/pkg/api.githash=$(GITHASH)'"
|
$(SET) CGO_ENABLED=1 $(SEPARATOR) go build -mod=vendor -v -ldflags "-X 'github.com/stashapp/stash/pkg/api.buildstamp=$(DATE)' -X 'github.com/stashapp/stash/pkg/api.githash=$(GITHASH)'"
|
||||||
|
|
||||||
install:
|
install:
|
||||||
|
|
Loading…
Reference in New Issue