|
5 | 5 | # Publish the per-platform engine binaries as GitHub release assets. |
6 | 6 | # |
7 | 7 | # No channel bundles engines any more. Shipping all four platform binaries meant |
8 | | -# a 118 MB VSIX and a 498 MB npm package for the ~30 MB a given user can |
| 8 | +# a 118 MB VSIX and a 498 MB npm package for the one binary a given user can |
9 | 9 | # actually run, and the JetBrains Marketplace cannot ship per-platform artifacts |
10 | 10 | # at all. The binaries are published here once, and each client fetches only |
11 | 11 | # what it needs - which makes this release the single source of engines, so a |
12 | 12 | # missing or mistagged one leaves every channel with no engine at all. |
13 | 13 | # |
14 | 14 | # This does not build anything. It uploads what ./scripts/package-*.sh already |
15 | | -# expect to find in vscode/bin/, so it slots in after the existing |
16 | | -# cross-platform build (see cross-platform-builds.md). The one exception is |
17 | | -# linux-arm64, which has no build host of its own: ./scripts/build-linux-arm64.sh |
18 | | -# builds it in a container and stages and stamps it into vscode/bin/ itself. |
| 15 | +# expect to find in vscode/bin/, so it slots in after the existing cross-platform |
| 16 | +# build. Each platform is built natively on its own host; those hosts are |
| 17 | +# internal machines, so they are recorded in the maintainer's private build notes |
| 18 | +# rather than here. The one exception is linux-arm64, which has no build host of |
| 19 | +# its own: ./scripts/build-linux-arm64.sh builds it in a container and stages and |
| 20 | +# stamps it into vscode/bin/ itself. |
19 | 21 | # |
20 | 22 | # Usage: |
21 | 23 | # ./scripts/publish-release-assets.sh # stage + verify only |
@@ -196,8 +198,8 @@ ERROR: not every platform artifact is present in vscode/bin/. |
196 | 198 |
|
197 | 199 | A partial release is worse than none: a client that resolves its own platform |
198 | 200 | and finds nothing has no way to tell "not built yet" from "never supported". |
199 | | -Build the missing platforms first - see cross-platform-builds.md for the |
200 | | -per-platform hosts - then re-run. |
| 201 | +Build the missing platforms first, each on its own build host - except |
| 202 | +linux-arm64, which ./scripts/build-linux-arm64.sh builds here - then re-run. |
201 | 203 | EOF |
202 | 204 | exit 1 |
203 | 205 | fi |
@@ -254,8 +256,8 @@ if [ "$commit_mismatch" -ne 0 ]; then |
254 | 256 |
|
255 | 257 | Everything in one release has to come from one tree, or the tag names a build |
256 | 258 | that never existed as a whole. Rebuild the assets that disagree from the commit |
257 | | -being released - see cross-platform-builds.md for the per-platform hosts - and |
258 | | -re-stamp them with ./scripts/stamp-binary.sh. |
| 259 | +being released, each on its own build host, and re-stamp them with |
| 260 | +./scripts/stamp-binary.sh. |
259 | 261 | EOF |
260 | 262 | } >&2 |
261 | 263 | exit 1 |
|
0 commit comments