From 82e86cdf39aef22b9cdec8a4f2758d4a6f07de75 Mon Sep 17 00:00:00 2001 From: Hein Date: Fri, 2 Oct 2026 23:38:28 +0200 Subject: [PATCH] fix(release): run lint and format check before version release --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 34b6fac..26d48ed 100644 --- a/Makefile +++ b/Makefile @@ -243,7 +243,7 @@ release: lint fmt-check test build ## Run lint, format check, tests, build, then git push origin "$$version"; \ echo "Tag $$version created and pushed to remote repository." -release-version: ## Auto-increment patch version, update VERSION/package files, commit, tag, and push +release-version: lint fmt-check ## Run lint and format check, then auto-increment patch version, update VERSION/package files, commit, tag, and push @CURRENT=$$([ -f VERSION ] && cat VERSION | tr -d '[:space:]' || (git describe --tags --abbrev=0 2>/dev/null | sed 's/^v//') || echo "0.0.0"); \ MAJOR=$$(echo $$CURRENT | cut -d. -f1); \ MINOR=$$(echo $$CURRENT | cut -d. -f2); \