From 54ba0c702194f15532cf4fe9054ff4d5b4db084d Mon Sep 17 00:00:00 2001 From: Yann Hamon Date: Thu, 4 Jun 2026 21:11:06 +0200 Subject: [PATCH] Add -buildvcs=false to openapi2jsonschema-go build --- openapi2jsonschema-go/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openapi2jsonschema-go/Makefile b/openapi2jsonschema-go/Makefile index 3c01d91..9980ffa 100644 --- a/openapi2jsonschema-go/Makefile +++ b/openapi2jsonschema-go/Makefile @@ -13,7 +13,7 @@ local-build: go build -o bin/openapi2jsonschema . local-build-static: - CGO_ENABLED=0 GOOS=$(shell go env GOOS) GOARCH=$(shell go env GOARCH) GO111MODULE=on go build -trimpath -tags=netgo -ldflags "-extldflags=\"-static\"" -a -o bin/openapi2jsonschema . + CGO_ENABLED=0 GOOS=$(shell go env GOOS) GOARCH=$(shell go env GOARCH) GO111MODULE=on go build -trimpath -buildvcs=false -tags=netgo -ldflags "-extldflags=\"-static\"" -a -o bin/openapi2jsonschema . # Mount the repo root so scripts/fixtures/ is reachable from the container. docker-test: