mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-07-22 04:31:40 +02:00
Introduce goreleaser support
This commit is contained in:
2
Makefile
2
Makefile
@@ -5,7 +5,7 @@ FRONTEND = ./web/frontend
|
||||
VERSION = 1.0.0
|
||||
GIT_HASH := $(shell git rev-parse --short HEAD || echo 'development')
|
||||
CURRENT_TIME = $(shell date +"%Y-%m-%d:T%H:%M:%S")
|
||||
LD_FLAGS = '-s -X main.buildTime=${CURRENT_TIME} -X main.version=${VERSION} -X main.hash=${GIT_HASH}'
|
||||
LD_FLAGS = '-s -X main.date=${CURRENT_TIME} -X main.version=${VERSION} -X main.commit=${GIT_HASH}'
|
||||
|
||||
EXECUTABLES = go npm
|
||||
K := $(foreach exec,$(EXECUTABLES),\
|
||||
|
Reference in New Issue
Block a user