Skip to content

Commit f3af414

Browse files
authored
Merge pull request #2851 from defitricks/patch-1
fix: $BASH_ENV loading issue
2 parents fe6029c + 4d908cc commit f3af414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/check_requirements_changes.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
# Check if requirements files have changed in the last commit
4-
if git diff --name-only HEAD~1 | grep -E 'pyproject.toml'; then
4+
if git diff --name-only HEAD | grep -E 'pyproject.toml'; then
55
echo "Requirements files may have changed. Running compatibility checks..."
66
echo 'export REQUIREMENTS_CHANGED="true"' >> $BASH_ENV
77
else

0 commit comments

Comments
 (0)