From 52f93a1b2bd99948abbee476340660a2825b3e12 Mon Sep 17 00:00:00 2001 From: Hector Date: Mon, 19 Jun 2023 19:34:06 +0100 Subject: [PATCH] update manual build path --- .gitlab-ci.yml | 2 +- Makefile | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a6c8c04..7bb7dce 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -39,7 +39,7 @@ build: - make build artifacts: paths: - - build/* + - fail2ban_exporter expire_in: 1 day # build: diff --git a/Makefile b/Makefile index 6a7830d..ea25c46 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,6 @@ check/fmt: download test -z $(shell gofmt -l .) build: - mkdir -p build/ go build \ -ldflags "\ -X main.version=${shell git describe --tags} \ @@ -23,5 +22,5 @@ build: -X main.date=${shell date --iso-8601=seconds} \ -X main.builtBy=manual \ " \ - -o build/fail2ban_exporter \ + -o fail2ban_exporter \ exporter.go