diff --git a/.goreleaser.yaml b/.goreleaser.yaml index aa3e1a1..3208900 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -7,7 +7,7 @@ builds: - CGO_ENABLED=0 binary: lure ldflags: - - -X go.elara.ws/lure/pkg/config.Version={{.Version}} + - -X go.elara.ws/lure/internal/config.Version={{.Version}} goos: - linux goarch: diff --git a/Makefile b/Makefile index 2c2e0ac..1dc85cb 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ PREFIX ?= /usr/local GIT_VERSION = $(shell git describe --tags ) lure: - CGO_ENABLED=0 go build -ldflags="-X 'go.elara.ws/lure/pkg/config.Version=$(GIT_VERSION)'" + CGO_ENABLED=0 go build -ldflags="-X 'go.elara.ws/lure/internal/config.Version=$(GIT_VERSION)'" clean: rm -f lure