gaia-framework 1.4.1 → 1.4.2
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/README.md +1 -1
- package/gaia-install.sh +12 -2
- package/package.json +1 -1
package/README.md
CHANGED
package/gaia-install.sh
CHANGED
|
@@ -6,7 +6,7 @@ set -euo pipefail
|
|
|
6
6
|
# Installs, updates, validates, and reports on GAIA installations.
|
|
7
7
|
# ─────────────────────────────────────────────────────────────────────────────
|
|
8
8
|
|
|
9
|
-
readonly VERSION="1.4.
|
|
9
|
+
readonly VERSION="1.4.2"
|
|
10
10
|
readonly GITHUB_REPO="https://github.com/J-louage/Gaia-framework.git"
|
|
11
11
|
readonly MANIFEST_REL="_gaia/_config/manifest.yaml"
|
|
12
12
|
|
|
@@ -457,7 +457,7 @@ cmd_update() {
|
|
|
457
457
|
done
|
|
458
458
|
fi
|
|
459
459
|
|
|
460
|
-
# Update version in global.yaml
|
|
460
|
+
# Update version in global.yaml and CLAUDE.md
|
|
461
461
|
if [[ -n "$src_version" && "$src_version" != "$cur_version" ]]; then
|
|
462
462
|
step "Updating framework version: $cur_version → $src_version"
|
|
463
463
|
if [[ "$OPT_DRY_RUN" != true ]]; then
|
|
@@ -467,6 +467,16 @@ cmd_update() {
|
|
|
467
467
|
else
|
|
468
468
|
sed -i "s/^framework_version:.*/framework_version: \"$src_version\"/" "$global_file"
|
|
469
469
|
fi
|
|
470
|
+
# Update version in CLAUDE.md heading
|
|
471
|
+
local claude_file="$TARGET/CLAUDE.md"
|
|
472
|
+
if [[ -f "$claude_file" ]]; then
|
|
473
|
+
if [[ "$(uname)" == "Darwin" ]]; then
|
|
474
|
+
sed -i '' "s/^# GAIA Framework v.*/# GAIA Framework v$src_version/" "$claude_file"
|
|
475
|
+
else
|
|
476
|
+
sed -i "s/^# GAIA Framework v.*/# GAIA Framework v$src_version/" "$claude_file"
|
|
477
|
+
fi
|
|
478
|
+
[[ "$OPT_VERBOSE" == true ]] && detail "Updated CLAUDE.md version heading" || true
|
|
479
|
+
fi
|
|
470
480
|
fi
|
|
471
481
|
fi
|
|
472
482
|
|