From 1d8ac0537135b4423c325336baae096125060a59 Mon Sep 17 00:00:00 2001 From: Rootul Patel Date: Thu, 21 Nov 2024 15:36:57 -0500 Subject: [PATCH] fix: instruct GoReleaser to use current tag --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d946b5af93..5cf4adc2b5 100644 --- a/Makefile +++ b/Makefile @@ -239,7 +239,8 @@ prebuilt-binary: fi docker run \ --rm \ - -e CGO_ENABLED=1 \ + --env CGO_ENABLED=1 \ + --env GORELEASER_CURRENT_TAG=${GIT_TAG} \ --env-file .release-env \ -v /var/run/docker.sock:/var/run/docker.sock \ -v `pwd`:/go/src/$(PACKAGE_NAME) \ @@ -285,7 +286,7 @@ enable-mptcp: @echo "net.mptcp.mptcp_path_manager=ndiffports" | sudo tee -a /etc/sysctl.conf @echo "net.mptcp.mptcp_ndiffports=16" | sudo tee -a /etc/sysctl.conf @echo "MPTCP configuration complete and persistent!" - + .PHONY: enable-mptcp ## disable-mptcp: Disables mptcp over multiple ports. Only works on Linux Kernel 5.6 and above. @@ -324,4 +325,3 @@ debug-version: @echo "GIT_TAG: $(GIT_TAG)" @echo "VERSION: $(VERSION)" .PHONY: debug-version -