Skip to content

fix(docs): fix version regex in assemble-versions.sh#1377

Open
hkad98 wants to merge 1 commit intogooddata:masterfrom
hkad98:jkd/docs-ci-build
Open

fix(docs): fix version regex in assemble-versions.sh#1377
hkad98 wants to merge 1 commit intogooddata:masterfrom
hkad98:jkd/docs-ci-build

Conversation

@hkad98
Copy link
Contributor

@hkad98 hkad98 commented Feb 27, 2026

Summary

  • Fix regex in assemble-versions.sh that finds the highest version directory to promote to /latest. The previous pattern ^[0-9]+$ only matched pure integers, but version directories are major.minor (e.g. 1.60). This caused the "promote to latest" step to find nothing, resulting in no /latest directory and a broken doc site. Updated to ^[0-9]+\.[0-9]+$ to match the original generate.sh behavior.

…inor dirs

The regex '^[0-9]+$' only matched pure integers but version directories
are major.minor (e.g. 1.60). This caused the "promote to latest" step
to find nothing, breaking the latest symlink. Updated to match the
original generate.sh pattern '^[0-9]+\.[0-9]+$'.

jira: trivial
risk: nonprod
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