feat(package) Version were not correctly set
As the code moved in "internal" package, we need to set the version to the new location
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
## BUILD
|
||||
GO_BUILD=go build -ldflags="-X 'github.com/katenary/katenary/internal/generator.Version=$(VERSION)'" -trimpath -o $(OUTPUT) ./cmd/katenary
|
||||
|
||||
# Simply build the binary for the current OS and architecture
|
||||
build: pull katenary
|
||||
@@ -14,11 +15,10 @@ ifeq ($(GO),local)
|
||||
@echo "=> Build on host using go"
|
||||
$(GO_BUILD)
|
||||
else
|
||||
@echo "=> Build in container using" $(CTN)
|
||||
@$(GO_OCI) $(GO_BUILD)
|
||||
echo "=> Build in container using" $(CTN)
|
||||
$(GO_OCI) $(GO_BUILD)
|
||||
endif
|
||||
|
||||
|
||||
# Make dist, build executables for all platforms, sign them, and compress them with upx if possible.
|
||||
# Also generate the windows installer.
|
||||
binaries: prepare $(BINARIES)
|
||||
|
Reference in New Issue
Block a user