mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-23 07:18:56 -05:00
chore: update ignore build script
This commit is contained in:
@@ -1,13 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Get the latest commit message
|
||||
if ! message=$(git log -1 --pretty=%s 2>/dev/null); then
|
||||
echo "Failed to check commit message" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Check if commit message starts with release or docs prefix
|
||||
if [[ ! "$message" == "chore(release): version packages"* ]] && [[ ! "$message" == "docs"* ]]; then
|
||||
echo "Skipping build: Not a release or docs commit."
|
||||
exit 0
|
||||
fi
|
||||
exit 1
|
||||
fi
|
||||
Reference in New Issue
Block a user