Commit cd0fcd8 1 parent c2a30b2 commit cd0fcd8 Copy full SHA for cd0fcd8
File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,13 @@ IMG ?= flanksource/canary-checker:$(TAG)
4
4
# Produce CRDs that work back to Kubernetes 1.11 (no version conversion)
5
5
CRD_OPTIONS ?= ""
6
6
NAME =canary-checker
7
+
7
8
TAG =$(shell git describe --tags --long)$(shell date +"% H% M% S")
8
9
10
+ ifeq ($(VERSION ) ,)
11
+ VERSION =$(shell git describe --tags --long) -$(shell date +"% Y% m% d% H% M% S")
12
+ endif
13
+
9
14
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
10
15
ifeq (,$(shell go env GOBIN) )
11
16
GOBIN =$(shell go env GOPATH) /bin
@@ -89,7 +94,7 @@ serve-docs:
89
94
90
95
.PHONY : build-api-docs
91
96
build-api-docs :
92
- go run main.go docs api pkg/ api.go > docs/reference.md
97
+ go run main.go docs api api/v1/checks .go > docs/reference.md
93
98
mkdir -p docs/cli
94
99
go run main.go docs cli " docs/cli"
95
100
You can’t perform that action at this time.
0 commit comments