thats a paddlin

This commit is contained in:
Zach committed 2025-11-19 15:11:04 -06:00
1 parent 50493dbe1f
commit fb5d707e08
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -2,7 +2,7 @@ FROM golang:1.23 AS build
WORKDIR /go/src/github.com/zricethezav/gitleaks WORKDIR /go/src/github.com/zricethezav/gitleaks
COPY . . COPY . .
RUN VERSION=$(git describe --tags --abbrev=0) && \ RUN VERSION=$(git describe --tags --abbrev=0) && \
CGO_ENABLED=0 go build -o bin/gitleaks -ldflags "-X=github.com/zricethezav/gitleaks/v8/cmd.Version=${VERSION}" CGO_ENABLED=0 go build -o bin/gitleaks -ldflags "-X=github.com/zricethezav/gitleaks/v8/version.Version=${VERSION}"
FROM alpine:3.19 FROM alpine:3.19
RUN apk add --no-cache bash git openssh-client RUN apk add --no-cache bash git openssh-client
+1 -1
View File
@@ -2,7 +2,7 @@
PKG=github.com/zricethezav/gitleaks PKG=github.com/zricethezav/gitleaks
VERSION := `git fetch --tags && git tag | sort -V | tail -1` VERSION := `git fetch --tags && git tag | sort -V | tail -1`
LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks/v8/cmd.Version=$(VERSION)" LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks/v8/version.Version=$(VERSION)"
COVER=--cover --coverprofile=cover.out COVER=--cover --coverprofile=cover.out
test-cover: test-cover: