Commit 1880ace
Fix install.sh version detection when no latest release exists
When no releases are tagged as latest, the GitHub redirect URL lacks a
/tag/ segment, so the sed substitution is a no-op and $VERSION gets set
to the full URL rather than being empty. Validate that $VERSION matches
a semver pattern instead of just checking for empty.
Fixes #36
Co-Authored-By: Cassondra <1840295+castastrophe@users.noreply.github.com>1 parent 6085da2 commit 1880ace
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments