removed RELEASE.json, embed codename in makefile (#1442)
This commit is contained in:
parent
71165bcd30
commit
b3786961de
2 changed files with 1 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -43,7 +43,7 @@ GO_VERSION_VALIDATION_ERR_MSG = Golang version ($(BUILD_GOVERSION)) is not suppo
|
||||||
# Current versioning information from env
|
# Current versioning information from env
|
||||||
BUILD_VERSION ?= "$(shell git describe --tags)"
|
BUILD_VERSION ?= "$(shell git describe --tags)"
|
||||||
BUILD_GOVERSION = "$(shell go version | cut -d " " -f3 | sed -E 's/[go]+//g')"
|
BUILD_GOVERSION = "$(shell go version | cut -d " " -f3 | sed -E 's/[go]+//g')"
|
||||||
BUILD_CODENAME = $(shell cat RELEASE.json | jq -r .CodeName)
|
BUILD_CODENAME = "alphaga"
|
||||||
BUILD_TIMESTAMP = $(shell date +%F"_"%T)
|
BUILD_TIMESTAMP = $(shell date +%F"_"%T)
|
||||||
BUILD_TAG ?= "$(shell git rev-parse HEAD)"
|
BUILD_TAG ?= "$(shell git rev-parse HEAD)"
|
||||||
DEFAULT_CONFIGDIR ?= "/etc/crowdsec"
|
DEFAULT_CONFIGDIR ?= "/etc/crowdsec"
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
"CodeName": "alphaga"
|
|
||||||
}
|
|
Loading…
Reference in a new issue