Commit e7c1e45
authored
fix: rework build and publish [INS-1051] (#95)
* Trigger build on push to any branch
* Publish binary without tag verification
* Move release binary publishing to a gitHub actions workflow
* Remove cleanup from build script
* Fix token
* Debugging failure
* Fetch all history for all tags and branches on build
* Hardcode release version for testing
* Cleanup
* More debugging
* Fix packaging
* More debugging
* Move packaging back to build script; upload both arm64 and x64 Mac binaries
* Hardcode electron version
* More fixes
* Fix publish for all binaries
* Ignore existing binaries instead of overwriting them
* Add missing token reference
* Disable builds temporarily for existing release binaries
* Ignore errors if a release binary exists
* Skip conditional for windows build and disable all other builds
* Fix typo
* Fix publish binary command for windows
* Only publish binaries when a tag exists
* Replace hardcoded release version with current tag
* Fail stage if a release build exists
* Trigger builds only when a tag is added or when pushing to the develop branch
* Create a draft release by triggering the version workflow on push
* Fix default value for version input
* Create the release without pushing a new tag
* Fix default for version value
* Bump default version
* Fix tag and version
* Cleanup
* Bump tag and version
* Switch to automated release on tag creation
* Bump electron version to 37.x
* Bump node-libcurl version to 3.0.0
* Disable creation of reelase version on push1 parent 4ace750 commit e7c1e45
File tree
6 files changed
+131
-49
lines changed- .github/workflows
- scripts/ci
6 files changed
+131
-49
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
18 | 39 | | |
19 | 40 | | |
20 | 41 | | |
| |||
25 | 46 | | |
26 | 47 | | |
27 | 48 | | |
| 49 | + | |
28 | 50 | | |
29 | 51 | | |
30 | 52 | | |
| |||
110 | 132 | | |
111 | 133 | | |
112 | 134 | | |
113 | | - | |
| 135 | + | |
114 | 136 | | |
115 | 137 | | |
116 | 138 | | |
117 | 139 | | |
118 | 140 | | |
119 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
120 | 163 | | |
121 | 164 | | |
122 | 165 | | |
| |||
178 | 221 | | |
179 | 222 | | |
180 | 223 | | |
181 | | - | |
| 224 | + | |
182 | 225 | | |
183 | 226 | | |
184 | 227 | | |
185 | 228 | | |
186 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
187 | 251 | | |
188 | 252 | | |
189 | 253 | | |
| |||
229 | 293 | | |
230 | 294 | | |
231 | 295 | | |
232 | | - | |
| 296 | + | |
233 | 297 | | |
234 | 298 | | |
235 | 299 | | |
236 | 300 | | |
237 | | - | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
238 | 308 | | |
239 | 309 | | |
240 | 310 | | |
| |||
277 | 347 | | |
278 | 348 | | |
279 | 349 | | |
280 | | - | |
| 350 | + | |
281 | 351 | | |
282 | 352 | | |
283 | 353 | | |
284 | 354 | | |
285 | | - | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
| 376 | + | |
| 377 | + | |
376 | 378 | | |
377 | 379 | | |
378 | 380 | | |
379 | 381 | | |
380 | 382 | | |
381 | 383 | | |
382 | 384 | | |
383 | | - | |
| 385 | + | |
384 | 386 | | |
385 | | - | |
386 | | - | |
387 | | - | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
388 | 391 | | |
389 | | - | |
390 | | - | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
391 | 395 | | |
392 | 396 | | |
393 | | - | |
| 397 | + | |
| 398 | + | |
394 | 399 | | |
395 | 400 | | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | 401 | | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
| 402 | + | |
| 403 | + | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
410 | 409 | | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
416 | 423 | | |
417 | 424 | | |
0 commit comments