@aiassesstech/mighty-mark 0.6.17 → 0.6.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiassesstech/mighty-mark",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.18",
|
|
4
4
|
"description": "System Health Sentinel for AI Assess Tech Fleet — autonomous monitoring, watchdog recovery, and fleet infrastructure oversight.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -305,17 +305,17 @@ if [[ "${PUSH_TO_GITHUB:-false}" == "true" ]] && [[ -d "${GITHUB_REPO_DIR:-}" ]]
|
|
|
305
305
|
exit 1
|
|
306
306
|
fi
|
|
307
307
|
|
|
308
|
-
git fetch origin "$GITHUB_BACKUP_BRANCH" 2>/dev/null || true
|
|
309
|
-
|
|
310
308
|
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "")
|
|
311
309
|
if [[ "$CURRENT_BRANCH" != "$GITHUB_BACKUP_BRANCH" ]]; then
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
310
|
+
git checkout "$GITHUB_BACKUP_BRANCH" 2>/dev/null || git checkout -b "$GITHUB_BACKUP_BRANCH" 2>/dev/null || true
|
|
311
|
+
fi
|
|
312
|
+
|
|
313
|
+
git pull origin "$GITHUB_BACKUP_BRANCH" --ff-only 2>/dev/null || true
|
|
314
|
+
|
|
315
|
+
# Ensure .tar.gz files are not gitignored (archives must be committed)
|
|
316
|
+
if grep -q '^\*\.tar\.gz$' .gitignore 2>/dev/null; then
|
|
317
|
+
sed -i '/^\*\.tar\.gz$/d' .gitignore
|
|
318
|
+
log " Removed *.tar.gz from .gitignore"
|
|
319
319
|
fi
|
|
320
320
|
|
|
321
321
|
# Split large archives into chunks under GitHub's file size limit
|