Skip to content

chore: replace the stale release-as guidance with initial-version - #13

Merged
TzuH-Hsu merged 1 commit into
mainfrom
chore/12-initial-version-docs
Sep 15, 2026
Merged

TzuH-Hsu merged 1 commit into
mainfrom
chore/12-initial-version-docs

Conversation

@TzuH-Hsu

Copy link
Copy Markdown
Owner

Summary

移植上游 TzuH-Hsu/github-project-os#3906662a5)。docs/setup/bootstrap.md L170-172 與 scripts/bootstrap.sh L877-881 一直寫著「config 會留著 release-as: 0.1.0,首發後再拿掉」,但本 repo 的 release-please-config.json 從 bootstrap 起就沒有那個 key——這是 09-15 首發跑成 v1.0.0(已退回 v0.1.0)的成因。

  • release-please-config.json:加 "initial-version": "0.1.0"。release-please 只在還沒有任何 release 時讀它,本 repo 已有 v0.1.0,所以對之後的發版沒有影響,純粹讓 config 與模板一致、文件不再說謊。
  • docs/setup/bootstrap.md:那段改成說明 initial-version 的語意與 1.0.0 的成因(逐字同上游)。
  • scripts/bootstrap.sh:de-template 尾端的 note/manual 改成用 sed 讀 config 有沒有 initial-version,沒有就 warnmanual(逐字同上游)。
  • 上游還改了 docs/template/architecture.md,本 repo de-template 後沒有該檔,不移植。

chore:,不進 changelog。

Related issue

Closes #12

Validation

  • L0 static — make lint
  • L1 unit — make test
  • L2 integration — bash -o noexec scripts/bootstrap.shgrep release-as 三檔為 0;config 為合法 JSON
  • L3 e2e / preview — n/a(bootstrap.sh 不在本 repo 重跑)

Risk / rollback

RISK: L3 not run — scripts/bootstrap.sh is only executed when creating a new repo from the template; the changed block is byte-identical to upstream 06662a5
Rollback: revert this squash commit; behaviour of release-please is unchanged either way (repo already has v0.1.0)

Checklist

  • Conventional Commit PR title (<type>: <description>)
  • Linked issue using "Closes #N"
  • No secrets, no *.local.md files committed
  • Documentation updated where affected

Port of TzuH-Hsu/github-project-os#39 (06662a5). release-please-config.json
gains initial-version: 0.1.0 (inert here, the repo already has v0.1.0);
docs/setup/bootstrap.md and scripts/bootstrap.sh stop describing a
release-as pin that never existed in this repo's config.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 15, 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-09-15T15:50:11.583332Z 6e44e54 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.

@TzuH-Hsu
TzuH-Hsu merged commit dd89482 into main Sep 15, 2026
1 check passed
@TzuH-Hsu
TzuH-Hsu deleted the chore/12-initial-version-docs branch September 15, 2026 15:48
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.

bootstrap 文件仍寫著從未成立的 release-as 做法;照上游 #39 改為 initial-version

1 participant