From 89beb86478a02a98157b7e58b8bd8c1c23784711 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Wed, 2 Oct 2024 15:44:14 +0200 Subject: [PATCH] add renovate annotation to xgo in makefile --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c76b9ca..28f3146 100644 --- a/Makefile +++ b/Makefile @@ -2,6 +2,8 @@ GOFUMPT_PACKAGE_VERSION := v0.7.0 # renovate: datasource=github-releases depName=golangci/golangci-lint GOLANGCI_LINT_PACKAGE_VERSION := v1.61.0 +# renovate: datasource=docker depName=docker.io/techknowlogick/xgo +XGO_PACKAGE_VERSION := go-1.22.x EXECUTABLE := wp-git-clone @@ -19,7 +21,6 @@ GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@$(G XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest GOTESTSUM_PACKAGE ?= gotest.tools/gotestsum@latest -XGO_VERSION := go-1.22.x XGO_TARGETS ?= linux/amd64,linux/arm-6,linux/arm-7,linux/arm64 TARGETOS ?= linux @@ -81,7 +82,7 @@ $(DIST_DIRS): .PHONY: xgo xgo: | $(DIST_DIRS) - $(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -v -ldflags '-extldflags "-static" $(LDFLAGS)' -tags '$(TAGS)' -targets '$(XGO_TARGETS)' -out $(EXECUTABLE) --pkg cmd/$(EXECUTABLE) . + $(GO) run $(XGO_PACKAGE) -go $(XGO_PACKAGE_VERSION) -v -ldflags '-extldflags "-static" $(LDFLAGS)' -tags '$(TAGS)' -targets '$(XGO_TARGETS)' -out $(EXECUTABLE) --pkg cmd/$(EXECUTABLE) . cp /build/* $(CWD)/$(DIST) ls -l $(CWD)/$(DIST)