Commit 13116d8
ci(release): publish latest.json when ANY platform build succeeds
Previously the manifest job had `needs: build` (no `if`), so if any
matrix entry failed (e.g. macOS missing certs, Linux apt drift) the
manifest never ran and the in-app updater on already-installed
machines never saw the new version — even though a perfectly good
Windows installer was attached to the release.
- `if: !cancelled()` lets the manifest step run as long as the run
isn't manually cancelled.
- The merge step now exits cleanly (without writing latest.json) when
zero platform manifests were downloaded OR the merged result has
zero platforms, so we never push an empty `platforms: {}` to the
site (which would be worse than leaving it stale).
- The downstream checkout / copy / commit steps are gated on
`has_manifest == 'true'`.
- Corrected the destination path on flaredeck-dev: the monorepo's
website public dir is at `apps/website/public/latest.json`, not the
repo root `public/`.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent d54ec45 commit 13116d8
1 file changed
Lines changed: 29 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
88 | 93 | | |
| 94 | + | |
89 | 95 | | |
90 | 96 | | |
91 | 97 | | |
| |||
109 | 115 | | |
110 | 116 | | |
111 | 117 | | |
| 118 | + | |
112 | 119 | | |
113 | 120 | | |
114 | 121 | | |
115 | 122 | | |
116 | 123 | | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
117 | 128 | | |
118 | 129 | | |
119 | 130 | | |
| |||
122 | 133 | | |
123 | 134 | | |
124 | 135 | | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
125 | 140 | | |
126 | | - | |
| 141 | + | |
127 | 142 | | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
128 | 148 | | |
129 | 149 | | |
| 150 | + | |
130 | 151 | | |
131 | 152 | | |
132 | | - | |
| 153 | + | |
133 | 154 | | |
134 | 155 | | |
135 | 156 | | |
136 | 157 | | |
| 158 | + | |
137 | 159 | | |
138 | 160 | | |
139 | | - | |
140 | | - | |
| 161 | + | |
| 162 | + | |
141 | 163 | | |
142 | 164 | | |
| 165 | + | |
143 | 166 | | |
144 | 167 | | |
145 | 168 | | |
146 | 169 | | |
147 | 170 | | |
148 | | - | |
| 171 | + | |
149 | 172 | | |
150 | 173 | | |
151 | 174 | | |
152 | | - | |
| 175 | + | |
153 | 176 | | |
154 | 177 | | |
0 commit comments