From 2d5d8d04e00dd51948c5c0fcc0b5738a0b2a6b82 Mon Sep 17 00:00:00 2001 From: Christian Schwarz Date: Fri, 27 Feb 2026 08:20:12 +0000 Subject: [PATCH] build: hard-code zrepl v0.7.0 package release 2 Co-Authored-By: Claude Opus 4.6 --- Makefile | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 2bf3506..e87fa7f 100644 --- a/Makefile +++ b/Makefile @@ -4,17 +4,8 @@ ARTIFACTDIR := artifacts -ifdef ZREPL_VERSION - _ZREPL_VERSION := $(ZREPL_VERSION) -endif -ifndef _ZREPL_VERSION - _ZREPL_VERSION := $(shell git describe --always --dirty 2>/dev/null || echo "ZREPL_BUILD_INVALID_VERSION" ) - ifeq ($(_ZREPL_VERSION),ZREPL_BUILD_INVALID_VERSION) # can't use .SHELLSTATUS because Debian Stretch is still on gmake 4.1 - $(error cannot infer variable ZREPL_VERSION using git and variable is not overriden by make invocation) - endif -endif - -ZREPL_PACKAGE_RELEASE := 1 +_ZREPL_VERSION := v0.7.0 +ZREPL_PACKAGE_RELEASE := 2 GO := go GOOS ?= $(shell bash -c 'source <($(GO) env) && echo "$$GOOS"')