Files
CPLv4.0/.husky/pre-commit
2025-06-17 15:32:20 +02:00

13 lines
341 B
Bash

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
echo "🔄 Version wird automatisch erhöht (bumpVersion.ts)..."
# Version automatisch erhöhen
npx ts-node scripts/bumpVersion.ts || exit 1
# Automatisch relevante Dateien zum Commit hinzufügen
git add package.json package-lock.json .env.development .env.production
# Fortsetzen mit dem Commit