chore: update release script (#21)
Release package / release (push) Successful in 26m17s

Reviewed-on: #21
This commit was merged in pull request #21.
This commit is contained in:
2026-03-31 09:50:29 +00:00
parent db2e92a90c
commit 32b152d40c
5 changed files with 7 additions and 3 deletions
+4
View File
@@ -9,6 +9,10 @@ on:
branches: branches:
- main - main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs: jobs:
release: release:
permissions: permissions:
+1 -1
View File
@@ -20,7 +20,7 @@
# production # production
/build /build
/release.zip /release*.zip
# misc # misc
.DS_Store .DS_Store
Binary file not shown.
+1 -1
View File
@@ -18,7 +18,7 @@ const config: GlobalConfig = {
[ [
"@semantic-release/exec", "@semantic-release/exec",
{ {
prepareCmd: "node scripts/release.ts ${nextRelease.version}", prepareCmd: "node scripts/release.ts ${nextRelease.version} && sed -i 's|image: git.demonkernel.io.vn/foodsurf/frontend:.*|image: git.demonkernel.io.vn/foodsurf/frontend:${nextRelease.version}|g' k8s/k8s.yaml",
}, },
], ],
[ [
+1 -1
View File
@@ -7,7 +7,7 @@ if (!version) {
process.exit(1); process.exit(1);
} }
const zipPath = `release-v${version}.zip`; // Thêm version vào tên file cho dễ quản lý const zipPath = `release.zip`;
console.log( console.log(
`📦 Đang chuẩn bị đóng gói App Router Standalone cho version: ${version}...`, `📦 Đang chuẩn bị đóng gói App Router Standalone cho version: ${version}...`,