Skip to content

Commit 22af59e

Browse files
authored
Merge pull request #3119 from bobleer/lwb/verify-published-macos-installers
Require published latest-v1.json to declare the macOS installers
2 parents 8e30ecb + f5f90bb commit 22af59e

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

‎.github/workflows/desktop-package.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@ jobs:
842842
--manifest latest.published.json \
843843
--version "${{ needs.prepare.outputs.version }}" \
844844
--required-platforms "${REQUIRED_UPDATER_PLATFORMS}" \
845-
--required-manual-platforms "windows-x86_64" \
845+
--required-manual-platforms "windows-x86_64,darwin-aarch64,darwin-x86_64" \
846846
--check-urls true
847847
848848
- name: Verify published Linux binaries manifest

‎scripts/check-github-config.test.mjs‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,6 +1183,15 @@ test('Desktop packaging keeps beta identity explicit and stable-safe', () => {
11831183
(step) => step.name === 'Publish beta channel manifest',
11841184
);
11851185
assert.ok(verifyIndexPublished >= 0 && verifyIndexPublished < promoteIndex);
1186+
const requiredManual = 'windows-x86_64,darwin-aarch64,darwin-x86_64';
1187+
assert.match(
1188+
uploadSteps.find((step) => step.name === 'Verify updater manifest').run,
1189+
new RegExp(`--required-manual-platforms "${requiredManual}"`),
1190+
);
1191+
assert.match(
1192+
uploadSteps[verifyIndexPublished].run,
1193+
new RegExp(`--required-manual-platforms "${requiredManual}"`),
1194+
);
11861195
assert.doesNotMatch(workflow.jobs['linux-binaries'].if, /release_channel/);
11871196
assert.equal(
11881197
uploadSteps.find((step) => step.name === 'Stage release assets').if,

0 commit comments

Comments
 (0)