Skip to content

Commit fb5d707

Browse files
committed
thats a paddlin
1 parent 50493db commit fb5d707

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM golang:1.23 AS build
22
WORKDIR /go/src/github.com/zricethezav/gitleaks
33
COPY . .
44
RUN VERSION=$(git describe --tags --abbrev=0) && \
5-
CGO_ENABLED=0 go build -o bin/gitleaks -ldflags "-X=github.com/zricethezav/gitleaks/v8/cmd.Version=${VERSION}"
5+
CGO_ENABLED=0 go build -o bin/gitleaks -ldflags "-X=github.com/zricethezav/gitleaks/v8/version.Version=${VERSION}"
66

77
FROM alpine:3.19
88
RUN apk add --no-cache bash git openssh-client

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
PKG=github.com/zricethezav/gitleaks
44
VERSION := `git fetch --tags && git tag | sort -V | tail -1`
5-
LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks/v8/cmd.Version=$(VERSION)"
5+
LDFLAGS=-ldflags "-X=github.com/zricethezav/gitleaks/v8/version.Version=$(VERSION)"
66
COVER=--cover --coverprofile=cover.out
77

88
test-cover:

0 commit comments

Comments
 (0)