Skip to content

Commit

Permalink
fix_: run script directly
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-sirotin committed Aug 27, 2024
1 parent 26a4f13 commit dfe38bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/commit-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
echo $(git branch --show-current)
echo $(git rev-parse HEAD)
output=$(make commit-check)
output=$(./_assets/scripts/commit_check.sh)
exit_code=$?
error_message=$(echo "$output" | sed -n '2p')
Expand Down
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ endef
# TODO: Define more specific shells.
TARGET := default
ifneq ($(detected_OS),Windows)
# SHELL := ./nix/scripts/shell.sh
SHELL := ./nix/scripts/shell.sh
endif
shell: export TARGET ?= default
shell: ##@prepare Enter into a pre-configured shell
Expand Down Expand Up @@ -455,8 +455,6 @@ migration-check:

commit-check: SHELL := /bin/sh
commit-check:
@echo "Running commit check..."
@echo "commit hash: $(call sh, git rev-parse HEAD) "
@bash _assets/scripts/commit_check.sh

tag-version:
Expand Down

0 comments on commit dfe38bd

Please sign in to comment.