ci: update script
Release package / release (push) Failing after 1m50s
Release package / build-and-push (push) Failing after 2m25s
Release package / deploy-via-portainer (push) Has been skipped

This commit is contained in:
TakahashiNg
2026-03-26 14:40:14 +00:00
parent 1dec5b6341
commit 174e46a50a
7 changed files with 70 additions and 4 deletions
+19
View File
@@ -0,0 +1,19 @@
import { execSync } from "node:child_process";
const version = process.argv[2];
if (!version) {
console.error("❌ Version không được cung cấp!");
process.exit(1);
}
const zipPath = "release.zip";
console.log(`📦 Đang nén file cho version: ${version}...`);
execSync(`zip -r ${zipPath} out`, {
stdio: "inherit",
});
console.log(`✅ Đã tạo file zip: ${zipPath}`);
execSync("pnpm format");