Commit 40e2390
fix(release): stop merges from publishing, filter prerelease tags, gate manual update in dev builds
Three independent release-plumbing fixes, none of them UI-overhaul work.
release.yml no longer fires on a push to main. It published on any push
touching src/** or installer/**, so merging a PR was indistinguishable from
cutting a release -- v0.1.62 through v0.1.64 all shipped that way as a side
effect of merging. Publishing now requires an explicit act: a pushed
v*.*.* tag or a manual workflow_dispatch. Both remain.
The version auto-bump now filters prerelease tags. The 'v*.*.*' glob also
matches v0.1.65-beta.1, and with no filter $parts[2] becomes "65-beta",
which [int] throws on -- a tagged prerelease would have broken every
subsequent release. dev-build.yml has always had this filter; release.yml
did not, despite the docs claiming both did.
The Settings "Check now" button no longer self-updates a dev build. The
startup check has always been gated on App.IsDevBuild(), but this manual
path was not: clicking it in a dev build downloaded the newest stable
installer and launched it over the running build. It now reports that
updates are disabled and returns. Shipping bug, independent of the beta
channel work.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent eb4afa4 commit 40e2390
2 files changed
Lines changed: 25 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
47 | 46 | | |
48 | 47 | | |
49 | 48 | | |
50 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1027 | 1027 | | |
1028 | 1028 | | |
1029 | 1029 | | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
1030 | 1046 | | |
1031 | 1047 | | |
1032 | 1048 | | |
| |||
0 commit comments