@@ -9,6 +9,10 @@ on:
|
||||
branches:
|
||||
- main
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
release:
|
||||
permissions:
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@
|
||||
|
||||
# production
|
||||
/build
|
||||
/release.zip
|
||||
/release*.zip
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
|
||||
Binary file not shown.
+1
-1
@@ -18,7 +18,7 @@ const config: GlobalConfig = {
|
||||
[
|
||||
"@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
@@ -7,7 +7,7 @@ if (!version) {
|
||||
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(
|
||||
`📦 Đang chuẩn bị đóng gói App Router Standalone cho version: ${version}...`,
|
||||
|
||||
Reference in New Issue
Block a user