Commit 0c409fe
committed
ci: flag pre-release tags so they don't become "latest" (#13 prep)
The release workflow uses softprops/action-gh-release without setting
prerelease. Tags like v0.5.1-rc1 would get published as full releases,
and GitHub's /releases/latest endpoint could return them.
install.sh and install.ps1 both call /releases/latest to discover the
current version when the user has not pinned VERSION. If an rc were
marked latest, every user running the install one-liner would get
pulled onto an rc without asking.
Auto-flag anything with -rc, -beta, or -alpha in the tag name as
prerelease. Clean semver tags (v0.5.1, v1.0.0) continue to publish
as full releases exactly as before.1 parent 592271e commit 0c409fe
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
80 | 86 | | |
81 | 87 | | |
82 | 88 | | |
| |||
0 commit comments