WIP
This commit is contained in:
parent
58d1309adb
commit
d0a70d1dc6
4
.github/workflows/beta-release.yml
vendored
4
.github/workflows/beta-release.yml
vendored
@ -74,10 +74,6 @@ jobs:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: npm run release-beta
|
||||
|
||||
- name: Push branch
|
||||
run: |
|
||||
git push origin release
|
||||
|
||||
- name: Upload dist.tar.gz as artifact
|
||||
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
|
||||
with:
|
||||
|
||||
@ -267,6 +267,12 @@ export function checkReleaseBranch() {
|
||||
export async function createDistTarGz() {
|
||||
const distPath = "dist";
|
||||
const outputPath = "./tmp/dist.tar.gz";
|
||||
const tmpDir = "./tmp";
|
||||
|
||||
// Ensure tmp directory exists
|
||||
if (!fs.existsSync(tmpDir)) {
|
||||
fs.mkdirSync(tmpDir, { recursive: true });
|
||||
}
|
||||
|
||||
// Check if dist directory exists
|
||||
if (!fs.existsSync(distPath)) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user