From 92f2ffbd702baac1db770760ae7e2096aecbade4 Mon Sep 17 00:00:00 2001 From: deluan Date: Tue, 3 Feb 2026 11:26:35 -0500 Subject: [PATCH] Update release target in Makefile to include test step before tagging --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index db1d40d..db8a4cd 100644 --- a/Makefile +++ b/Makefile @@ -15,11 +15,10 @@ package: build clean: rm -f $(WASM_FILE) $(PLUGIN_NAME).ndp -release: +release: test @if [[ ! "${V}" =~ ^[0-9]+\.[0-9]+\.[0-9]+.*$$ ]]; then echo "Usage: make release V=X.X.X"; exit 1; fi go mod tidy @if [ -n "`git status -s`" ]; then echo "\n\nThere are pending changes. Please commit or stash first"; exit 1; fi - make pre-push git tag v${V} git push origin v${V} --no-verify .PHONY: release