release: v1.26.0

This commit is contained in:
coso
2026-05-01 21:19:41 +08:00
parent aaf3271973
commit ca5ad96a23
154 changed files with 23884 additions and 1178 deletions
+11 -11
View File
@@ -303,7 +303,7 @@ describe("GitHub release asset staging", () => {
"arm-sig",
);
writeFile(
path.join(assetsDir, "aarch64-apple-darwin", "Lime_1.25.0_aarch64.dmg"),
path.join(assetsDir, "aarch64-apple-darwin", "Lime_1.26.0_aarch64.dmg"),
);
writeFile(path.join(assetsDir, "x86_64-apple-darwin", "Lime.app.tar.gz"));
writeFile(
@@ -311,7 +311,7 @@ describe("GitHub release asset staging", () => {
"x64-sig",
);
writeFile(
path.join(assetsDir, "x86_64-apple-darwin", "Lime_1.25.0_x64.dmg"),
path.join(assetsDir, "x86_64-apple-darwin", "Lime_1.26.0_x64.dmg"),
);
writeFile(latestPath, "{}");
@@ -319,29 +319,29 @@ describe("GitHub release asset staging", () => {
assetsDir,
extraAssets: [latestPath],
outDir,
version: "v1.25.0",
version: "v1.26.0",
});
expect(copied.map((item) => item.name).sort()).toEqual(
[
"Lime_1.25.0_aarch64.app.tar.gz",
"Lime_1.25.0_aarch64.app.tar.gz.sig",
"Lime_1.25.0_aarch64.dmg",
"Lime_1.25.0_x64.app.tar.gz",
"Lime_1.25.0_x64.app.tar.gz.sig",
"Lime_1.25.0_x64.dmg",
"Lime_1.26.0_aarch64.app.tar.gz",
"Lime_1.26.0_aarch64.app.tar.gz.sig",
"Lime_1.26.0_aarch64.dmg",
"Lime_1.26.0_x64.app.tar.gz",
"Lime_1.26.0_x64.app.tar.gz.sig",
"Lime_1.26.0_x64.dmg",
"latest.json",
].sort(),
);
expect(
fs.readFileSync(
path.join(outDir, "Lime_1.25.0_aarch64.app.tar.gz.sig"),
path.join(outDir, "Lime_1.26.0_aarch64.app.tar.gz.sig"),
"utf8",
),
).toBe("arm-sig");
expect(
fs.readFileSync(
path.join(outDir, "Lime_1.25.0_x64.app.tar.gz.sig"),
path.join(outDir, "Lime_1.26.0_x64.app.tar.gz.sig"),
"utf8",
),
).toBe("x64-sig");