Skip to content

Commit 795b615

Browse files
committed
refactor(docs): simplify journal entry logic in install.sh
1 parent 24c740b commit 795b615

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

docs/install.sh

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -200,12 +200,7 @@ else
200200
fi
201201

202202
# Use the project's journal script if it exists
203-
if [[ -f ".gemini/scripts/journal.py" ]]; then
204-
python3 .gemini/scripts/journal.py "$MSG"
205-
else
206-
TODAY=$(date +%Y-%m-%d)
207-
echo -e "\n## Gemini CLI Integration\n- $MSG" >> "journal/$TODAY.md"
208-
fi
203+
python3 .gemini/scripts/journal.py "$MSG"
209204

210205
# --- Post-Install ---
211206
git add .

journal/2026-03-20.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
[2026-03-20T08:38:31] - chore(release): version 0.16.0
99
[2026-03-20T08:41:47] - feat(docs): improve install.sh with safe update logic and preservation of user notes
1010
[2026-03-20T08:43:37] - chore(release): version 0.17.0
11+
[2026-03-20T08:45:12] - refactor(docs): simplify journal entry logic in install.sh

0 commit comments

Comments
 (0)