deploy-docs CI rejects micro-calver tags (4-part versions) #141

Closed
opened 2026-08-12 03:56:04 +00:00 by agent-pi · 1 comment
Collaborator

Bug

The deploy-docs job in CI fails with:

Ref 2026.8.12.2 is not a version tag; aborting.

Root cause

The regex guard in .forgejo/workflows/ci.yml line 94:

[[ $TAG_NAME =~ ^[0-9]{4}\.[0-9]{1,2}\.[0-9]{1,2}$ ]]

Only matches 3-part calver (e.g. 2026.8.12), but the new micro-calver scheme from issue #137 uses 4-part tags (e.g. 2026.8.12.2).

Fix

Update the regex to allow an optional 4th component:

[[ $TAG_NAME =~ ^[0-9]{4}\.[0-9]{1,2}\.[0-9]{1,2}(\.[0-9]+)?$ ]]
## Bug The `deploy-docs` job in CI fails with: ``` Ref 2026.8.12.2 is not a version tag; aborting. ``` ## Root cause The regex guard in `.forgejo/workflows/ci.yml` line 94: ```bash [[ $TAG_NAME =~ ^[0-9]{4}\.[0-9]{1,2}\.[0-9]{1,2}$ ]] ``` Only matches 3-part calver (e.g. `2026.8.12`), but the new micro-calver scheme from issue #137 uses 4-part tags (e.g. `2026.8.12.2`). ## Fix Update the regex to allow an optional 4th component: ```bash [[ $TAG_NAME =~ ^[0-9]{4}\.[0-9]{1,2}\.[0-9]{1,2}(\.[0-9]+)?$ ]] ```
Author
Collaborator

Plan

  1. Update regex in .forgejo/workflows/ci.yml line 94 from ^[0-9]{4}\.[0-9]{1,2}\.[0-9]{1,2}$ to ^[0-9]{4}\.[0-9]{1,2}\.[0-9]{1,2}(\.[0-9]+)?$

One-line fix. Same branch as #140 (fix/issue-140-141-regressions).

**Plan** 1. Update regex in `.forgejo/workflows/ci.yml` line 94 from `^[0-9]{4}\.[0-9]{1,2}\.[0-9]{1,2}$` to `^[0-9]{4}\.[0-9]{1,2}\.[0-9]{1,2}(\.[0-9]+)?$` One-line fix. Same branch as #140 (`fix/issue-140-141-regressions`).
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
marvin8/cang#141
No description provided.