(version: string)
| 5 | import { $ } from 'bun'; |
| 6 | |
| 7 | function normalizeVersion(version: string): string { |
| 8 | return version.trim().replace(/^refs\/tags\//, '').replace(/^v/, ''); |
| 9 | } |
| 10 | |
| 11 | const SEMVER_REGEX = /^\d+\.\d+\.\d+(-.+)?$/; |
| 12 |
no outgoing calls
no test coverage detected