v1.3.1: Smart Cache vereinfacht (KW-Check + 1h Alter), Build-Script auto-commit+push

This commit is contained in:
Kantine Wrapper
2026-02-17 21:17:34 +01:00
parent 05bc06660c
commit 9b1f0e2fd3
8 changed files with 36 additions and 41 deletions

View File

@@ -267,14 +267,21 @@ if [ $TEST_EXIT -ne 0 ]; then
fi
echo "✅ All build tests passed."
# === 5. Auto-tag version ===
# === 5. Auto-tag and push ===
echo ""
echo "=== Tagging $VERSION ==="
if git rev-parse "$VERSION" >/dev/null 2>&1; then
git tag -f "$VERSION"
echo "🔄 Tag $VERSION moved to current commit."
echo " ⚠️ Force-push required: git push origin --force tag $VERSION"
else
git tag "$VERSION"
echo "✅ Created tag: $VERSION"
fi
echo ""
echo "=== Committing & Pushing ==="
git add -A
git commit -m "dist files for $VERSION built" --allow-empty
git push
git push origin --force tag "$VERSION"
echo "✅ Pushed commit + tag $VERSION"