fix: rename Windows ZIPs and fix macOS manual update checks (#81)

This commit is contained in:
2026-05-24 23:47:02 -07:00
committed by GitHub
parent 10463e7348
commit 17d97f0b7e
11 changed files with 133 additions and 8 deletions
+5
View File
@@ -87,6 +87,11 @@ test('prerelease workflow writes checksum entries using release asset basenames'
);
});
test('prerelease workflow relies on builder artifact names without post-build zip renames', () => {
assert.doesNotMatch(prereleaseWorkflow, /Rename Windows ZIP artifacts/);
assert.doesNotMatch(prereleaseWorkflow, /Rename-Item[\s\S]*-win\.zip/);
});
test('prerelease workflow validates artifacts before publishing the release and only undrafts after upload', () => {
const artifactsIndex = prereleaseWorkflow.indexOf('artifacts=(');
const createIndex = prereleaseWorkflow.indexOf('gh release create');