update manual build path
This commit is contained in:
parent
fc2b16a678
commit
52f93a1b2b
@ -39,7 +39,7 @@ build:
|
|||||||
- make build
|
- make build
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- build/*
|
- fail2ban_exporter
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
|
|
||||||
# build:
|
# build:
|
||||||
|
3
Makefile
3
Makefile
@ -15,7 +15,6 @@ check/fmt: download
|
|||||||
test -z $(shell gofmt -l .)
|
test -z $(shell gofmt -l .)
|
||||||
|
|
||||||
build:
|
build:
|
||||||
mkdir -p build/
|
|
||||||
go build \
|
go build \
|
||||||
-ldflags "\
|
-ldflags "\
|
||||||
-X main.version=${shell git describe --tags} \
|
-X main.version=${shell git describe --tags} \
|
||||||
@ -23,5 +22,5 @@ build:
|
|||||||
-X main.date=${shell date --iso-8601=seconds} \
|
-X main.date=${shell date --iso-8601=seconds} \
|
||||||
-X main.builtBy=manual \
|
-X main.builtBy=manual \
|
||||||
" \
|
" \
|
||||||
-o build/fail2ban_exporter \
|
-o fail2ban_exporter \
|
||||||
exporter.go
|
exporter.go
|
||||||
|
Loading…
x
Reference in New Issue
Block a user