Repository navigation
Commit 59514ae
committed
Restore the +test build marker and drop the now-unneeded version-shortcode string guard
PR #14894 rewrote init.lua's version() to always return a pandoc.types.Version,
normalizing the quarto-version filter param to its leading dotted-numeric
component. quarto.version can no longer be a plain string, so the tostring()
fallback added to version.lua for that case guards a condition that cannot
occur, and main's own quarto-version-repr test asserts table.concat succeeds
across plain, four-component, build-metadata, and non-numeric inputs.
The +test.<date> build-metadata marker on built test distributions is kept
deliberately (D2 in llm-docs/built-version-testing-architecture.md): it lets a
built test dist announce itself as a CI trial build in `quarto --version`
while keeping quarto-required range comparisons valid, and #14894 already
makes the marker invisible to Lua filters, which was the only real problem it
used to cause.1 parent 2542b54 commit 59514ae
4 files changed
Lines changed: 11 additions & 14 deletions
File tree
- .github/workflows
- llm-docs
- src/resources/extensions/quarto/version
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
| 96 | + | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
| 99 | + | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
223 | | - | |
| 223 | + | |
224 | 224 | | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
234 | 230 | | |
235 | 231 | | |
236 | 232 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
491 | 491 | | |
492 | 492 | | |
493 | 493 | | |
494 | | - | |
| 494 | + | |
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
| |||
0 commit comments