docs: changelog posts read the token from ~/.config/summercms/journal-token
This commit is contained in:
@@ -75,4 +75,4 @@ Project rules that override MSD defaults:
|
||||
- No co-author tags. One logical change per commit; planning docs and code in separate commits.
|
||||
- Several Claude sessions often work in this repo at once (different phases, quick tasks). Stage files explicitly by path (never `git add -A`), leave other sessions' uncommitted edits (often `STATE.md`, `state.json`) alone, and check for in-flight edits before touching shared files such as cabana.
|
||||
- Don't push, tag or deploy without the user's go-ahead; deploys are documented per application (for example `../sm-grzybyfunkcjonalne-app/DEPLOY.md`).
|
||||
- Every pushed release tag `vX.Y.Z` gets a post on https://summercms.io/changelog, the same day. From `../sm-summercmsio-app`: `scripts/changelog-post.py source vX.Y.Z` prints the tag message and the commits since the previous tag; write user-facing markdown notes from it (`## Highlights`/`## Added`/`## Changed`/`## Fixed`, no planning IDs or `quick-*` codes, no H1); then `SUMMERCMS_JOURNAL_TOKEN=g15_… scripts/changelog-post.py publish vX.Y.Z notes.md --excerpt "…"`. The token (a `g15_` token scoped `journal`) comes from the user; ask for it, never mint one yourself. Details: `../sm-summercmsio-app/DEPLOY.md`, "Posting to the changelog".
|
||||
- Every pushed release tag `vX.Y.Z` gets a post on https://summercms.io/changelog, the same day. From `../sm-summercmsio-app`: `scripts/changelog-post.py source vX.Y.Z` prints the tag message and the commits since the previous tag; write user-facing markdown notes from it (`## Highlights`/`## Added`/`## Changed`/`## Fixed`, no planning IDs or `quick-*` codes, no H1); then `scripts/changelog-post.py publish vX.Y.Z notes.md --excerpt "…"`. The script reads the `g15_` token (scoped `journal`) from `~/.config/summercms/journal-token`; never print, copy or mint one, and if the file is missing or the token is refused, ask the user. Details: `../sm-summercmsio-app/DEPLOY.md`, "Posting to the changelog".
|
||||
|
||||
Reference in New Issue
Block a user