@@ -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
@@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
# production
|
# production
|
||||||
/build
|
/build
|
||||||
/release.zip
|
/release*.zip
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|||||||
Binary file not shown.
+1
-1
@@ -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
@@ -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}...`,
|
||||||
|
|||||||
Reference in New Issue
Block a user