update at 2019-10-04 13:06:18 by ehlxr
This commit is contained in:
parent
ae6164c0ff
commit
daee642670
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
BUILD_VERSION := $(shell cat version)
|
BUILD_VERSION := $(shell cat version)
|
||||||
BUILD_TIME := $(shell date "+%F %T")
|
BUILD_TIME := $(shell date "+%F %T")
|
||||||
COMMIT_SHA1 := $(shell git rev-parse HEAD)
|
COMMIT_SHA1 := $(shell git rev-parse HEAD)
|
||||||
ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))/
|
ROOT_DIR := $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
|
||||||
DIST_DIR := $(ROOT_DIR)/dist/
|
DIST_DIR := $(ROOT_DIR)/dist/
|
||||||
|
|
||||||
VERSION_PATH := $(shell cat `go env GOMOD` | awk '/^module/{print $$2}')/metadata
|
VERSION_PATH := $(shell cat `go env GOMOD` | awk '/^module/{print $$2}')/metadata
|
||||||
|
Loading…
Reference in New Issue
Block a user