From ab1a89b2e3cc2c564e1c3b3af44119f6bf88a8b7 Mon Sep 17 00:00:00 2001 From: Valentin Kiselev Date: Mon, 25 Sep 2023 10:51:32 +0300 Subject: [PATCH] chore: auto update Swift plugin version --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cd044ada..0b15e3f9 100644 --- a/Makefile +++ b/Makefile @@ -30,5 +30,6 @@ version: @read -p "New version: " version sed -i "s/const version = .*/const version = \"$$version\"/" internal/version/version.go sed -i "s/VERSION := .*/VERSION := $$version/" packaging/Makefile + sed -i "s/lefthook-plugin.git\", exact: \".*\"/lefthook-plugin.git\", exact: \"$$version\"/" docs/install.md make -C packaging clean set-version - git add internal/version/version.go packaging/* + git add internal/version/version.go packaging/* docs/install.md