docs: Updated readme

This commit is contained in:
2026-06-20 14:22:31 +05:30
parent a563ab0341
commit ee0a407354
3 changed files with 26 additions and 14 deletions

View File

@@ -12,8 +12,8 @@ if [ ! -f "$VERSION_FILE" ]; then
exit 0
fi
# Check if there are staged changes other than the VERSION file
if ! git diff --cached --name-only | grep -qv "^$VERSION_FILE$"; then
# Check if there are staged changes other than VERSION, documentation (*.md), or installers folder
if ! git diff --cached --name-only | grep -Ev "^($VERSION_FILE$|.*\.md$|^installers/)" | grep -q .; then
# No other files staged, skip version bump
exit 0
fi