From ff7de6884537be05c2b7d3fac3e70fe439515f2a Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Wed, 18 Sep 2024 10:17:08 +0100 Subject: [PATCH] fix_: run git hooks in simple shell (#5841) --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 1138764f2..e69107543 100644 --- a/Makefile +++ b/Makefile @@ -456,6 +456,10 @@ commit-check: SHELL := /bin/sh commit-check: @bash _assets/scripts/commit_check.sh +version: SHELL := /bin/sh +version: + @./_assets/scripts/version.sh + tag-version: bash _assets/scripts/tag_version.sh $(TARGET_COMMIT) @@ -463,6 +467,7 @@ migration-wallet: DEFAULT_WALLET_MIGRATION_PATH := walletdatabase/migrations/sql migration-wallet: touch $(DEFAULT_WALLET_MIGRATION_PATH)/$$(date +%s)_$(D).up.sql +install-git-hooks: SHELL := /bin/sh install-git-hooks: @ln -sf $(if $(filter $(detected_OS), Linux),-r,) \ $(GIT_ROOT)/_assets/hooks/* $(GIT_ROOT)/.git/hooks