chore: prepare 0.5.0 Linux and Windows release

This commit is contained in:
2026-10-25 23:00:45 +03:00
parent a65867fc39
commit d2d9fcd09e
7 changed files with 86 additions and 23 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ export async function verifyLocal(directory, version) {
/** The downloaded bytes, not only API-reported sizes, must agree with the local verified package. */
export async function verifyRemote(release, localInventory, headers = {}, request = fetch) {
assert.equal(release.draft, true, "only a draft may be prepared or verified by this tool");
assert.equal(release.prerelease, false, "0.4.0 is a stable release");
assert.equal(release.prerelease, false, "release must be stable");
assert.deepEqual(release.assets.map((asset) => asset.name).sort(), localInventory.map((asset) => asset.name).sort(), "remote draft has missing, duplicate, or unexpected assets");
const temporary = await fsp.mkdtemp(path.join(os.tmpdir(), "lh-release-verify-"));
try {