File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,15 @@ update-template:
3232
3333# Check the commit messages on the current branch that are not on the main branch
3434check-commits :
35- #!/ bin/ zsh
35+ #!/usr/ bin/env bash
3636 branch_name=$(git rev-parse --abbrev-ref HEAD)
3737 number_of_commits=$(git rev-list --count HEAD ^main)
3838 if [[ ${branch_name} != " main" && ${number_of_commits} -gt 0 ]]
3939 then
40+ # If issue happens, try `uv tool update-shell`
4041 uvx --from commitizen cz check --rev-range main..HEAD
4142 else
42- echo " On ` main` or current branch doesn't have any commits."
43+ echo " On ' main' or current branch doesn't have any commits."
4344 fi
4445
4546# Check for spelling errors in files
@@ -48,7 +49,7 @@ check-spelling:
4849
4950# Test and check that a Python package can be created from the template
5051test is_seedcase_project :
51- #!/ bin/ zsh
52+ #!/usr/ bin/env bash
5253 test_name=" test-python-package"
5354 test_dir=" $(pwd)/_temp/{{ is_seedcase_project }} /$test_name"
5455 template_dir=" $(pwd)"
@@ -103,7 +104,6 @@ test is_seedcase_project:
103104
104105# Clean up any leftover and temporary build files
105106cleanup :
106- #!/ bin/ zsh
107107 rm -rf _temp
108108
109109# Build the website using Quarto
You can’t perform that action at this time.
0 commit comments