Skip to content

fix generate_manual.sh to sync ReadMe.md instead of README.md - #1605

Merged
Slach merged 2 commits into
Altinity:masterfrom
realyota:fix/generate-manual-readme-case
Oct 10, 2026
Merged

Slach merged 2 commits into
Altinity:masterfrom
realyota:fix/generate-manual-readme-case

Conversation

@realyota

@realyota realyota commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

generate_manual.sh regenerates Manual.md and then syncs the "## Common CLI Usage" section of the readme (added in d609e9e). It reads and writes README.md, but git tracks the file as ReadMe.md:

  • On case-sensitive filesystems (Linux, CI) awk cannot open README.md. Because of set -euo pipefail the script exits right after rewriting Manual.md, so the readme section is never synced.
  • On case-insensitive filesystems (macOS, Windows) the final mv leaves the file renamed to README.md in the working tree.

All four references in the script now use ReadMe.md; nothing else changes.

Tested by running the whole script in a golang:1 container.

git tracks the readme as ReadMe.md. On case-sensitive filesystems (Linux, CI)
awk could not open README.md, so with `set -euo pipefail` the script aborted
right after rewriting Manual.md and never synced the "Common CLI Usage"
section. On case-insensitive filesystems the final mv renamed ReadMe.md to
README.md in the working tree.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-09T13:19:12.790234Z 19666e2 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Slach
Slach merged commit 163ad97 into Altinity:master Oct 10, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants