Frontmatter
| id | 8866 |
| title | Fix release script regex for Portal Footer version update |
| state | Closed |
| labels | bugaibuild |
| assignees | tobiu |
| createdAt | Jan 23, 2026, 12:14 PM |
| updatedAt | Jan 23, 2026, 12:19 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8866 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 23, 2026, 12:19 PM |
Fix release script regex for Portal Footer version update
tobiu assigned to @tobiu on Jan 23, 2026, 12:19 PM

tobiu
Jan 23, 2026, 12:19 PM
Input from Gemini 3 Pro:
✦ I have fixed the regex in
buildScripts/release/prepare.mjsto correctly target thevX.Y.Zpattern, preventing it from overwriting the entire text content.Additionally, I updated
apps/portal/view/home/FooterContainer.mjsto use a dynamic date for the copyright year (new Date().getFullYear()) and converted the string to a template literal. The release script was verified to correctly update the version number within this new format.Generated SEO metadata and release index files have also been updated and pushed.
tobiu closed this issue on Jan 23, 2026, 12:19 PM
The regex in
buildScripts/release/prepare.mjs(lines 87-96) fails to correctly update the version number inapps/portal/view/home/FooterContainer.mjsdue to a recent change in the footer's text format. The footer now includes copyright and license info ('© 2026 Neo.mjs • v11.22.0 • MIT License'), which the old regex (/'\w.+'/') would clobber.Solution: Update the regex to target specifically the
vX.Y.Zpattern instead of replacing the entire string.