Skip to content

fix(docs): carry the site version through the release - #549

Merged
MaksymStoianov merged 7 commits into
developfrom
fix/writerside-cfg-version
Sep 23, 2026
Merged

MaksymStoianov merged 7 commits into
developfrom
fix/writerside-cfg-version

Conversation

@MaksymStoianov

Copy link
Copy Markdown
Member

Closes #548

writerside.cfg is generated for each of the five languages and repeats the version from package.json. release-please bumped the version and knew nothing about those files, so the moment a release landed on main the configurations named the previous release and docs:check failed the docs workflow before it could build anything — which is why the site for 2.1.0 was never published.

The version line now ends with an x-release-please-version annotation and the five files are listed as extra-files in release-please-config.json, so the release pull request rewrites them along with package.json.

Checked

  • the annotated line is the only one the generic updater touches: replaying its VERSION_REGEX against the five files bumps <instance …> and leaves the <ihp version="2.0"> schema version alone;
  • the five configurations are well-formed XML with the comment in place;
  • docs:check, type:check, lint, format, build and the suite (2534 tests) all pass.

AGENTS.md gains the third place a new language has to be registered in.

🤖 Generated with Claude Code

MaksymStoianov and others added 7 commits September 23, 2026 18:36
docs: publish every version and show a version switcher
fix(docs): write the head, the switcher and the notice in after the build
fix(docs): put the language and search controls in the header
feat(docs): link the translations under the breadcrumbs, and the AI notice before the footer
…-main--components--apps-script-utils

chore(main): release apps-script-utils 2.1.0
`writerside.cfg` is generated for each of the five languages and repeats
the version from `package.json`. `release-please` bumped the version and
knew nothing about those files, so the moment a release landed on `main`
the configurations named the previous release and `docs:check` failed the
`docs` workflow before it could build anything. That is how the site for
2.1.0 went unpublished.

The version line now ends with an `x-release-please-version` annotation
and the five files are listed as `extra-files`, so the release pull
request rewrites them along with `package.json`. The annotation sits on
the instance line alone; the `ihp` schema version above it is left as it
is.

Closes #548

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@MaksymStoianov
MaksymStoianov merged commit 86fca26 into develop Sep 23, 2026
13 checks passed
@MaksymStoianov
MaksymStoianov deleted the fix/writerside-cfg-version branch September 23, 2026 23:03
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.

1 participant