fix_: run git hooks in simple shell (#5841)

This commit is contained in:
Igor Sirotin 2024-09-18 10:17:08 +01:00 committed by GitHub
parent d036f208bb
commit ff7de68845
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 0 deletions

View File

@ -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