Commit 283b965
authored
release.sh: recognize anchored links in the bundle link check (#91)
The OpenAI bundle builder resolves every relative path a skill references to confirm it is in the archive, but the extraction regex required the path to be immediately followed by ')'. A markdown link carrying a #section anchor — ](references/foo.md#heading) — never matched, so a bundled file referenced only through an anchored link could be dropped from the archive without the check noticing. The regex now allows an optional #anchor and the sed strips it before resolving, so the target is checked. foundry already has such an anchored link in a skill (pagination-patterns.md#the-0-gotcha).1 parent 4a8921d commit 283b965
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | | - | |
| 161 | + | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
0 commit comments