(v: string)
| 198 | |
| 199 | /** Strip a leading `v`: `v0.9.9` → `0.9.9`. */ |
| 200 | export function stripV(v: string): string { |
| 201 | const t = v.trim(); |
| 202 | return t.startsWith('v') ? t.slice(1) : t; |
| 203 | } |
| 204 | |
| 205 | /** |
| 206 | * Parse the release tag out of the `Location` header GitHub returns for |
no outgoing calls
no test coverage detected