6b7e6b44f1
gh-pages / build (push) Waiting to run
Python Build and Type Check / python-ci (ubuntu-latest, 3.11) (push) Waiting to run
Python Build and Type Check / python-ci (ubuntu-latest, 3.13) (push) Waiting to run
Python Build and Type Check / python-ci (windows-latest, 3.11) (push) Waiting to run
Python Build and Type Check / python-ci (windows-latest, 3.13) (push) Waiting to run
Python Integration Tests / python-ci (ubuntu-latest, 3.13) (push) Waiting to run
Python Integration Tests / python-ci (windows-latest, 3.13) (push) Waiting to run
Python Notebook Tests / python-ci (ubuntu-latest, 3.13) (push) Waiting to run
Python Notebook Tests / python-ci (windows-latest, 3.13) (push) Waiting to run
Python Publish (pypi) / Upload release to PyPI (push) Waiting to run
Python Smoke Tests / python-ci (ubuntu-latest, 3.13) (push) Waiting to run
Python Smoke Tests / python-ci (windows-latest, 3.13) (push) Waiting to run
Python Unit Tests / python-ci (ubuntu-latest, 3.13) (push) Waiting to run
Python Unit Tests / python-ci (windows-latest, 3.13) (push) Waiting to run
Spellcheck / spellcheck (push) Waiting to run
11 lines
363 B
Bash
Executable File
11 lines
363 B
Bash
Executable File
#!/bin/sh
|
|
changes=$(git diff --name-only origin/main)
|
|
has_change_doc=$(echo $changes | grep .semversioner/next-release)
|
|
has_impacting_changes=$(echo $changes | grep graphrag)
|
|
|
|
if [ "$has_impacting_changes" ] && [ -z "$has_change_doc" ]; then
|
|
echo "Check failed. Run 'uv run semversioner add-change' to update the next release version"
|
|
exit 1
|
|
fi
|
|
echo "OK"
|