From de81de92a90382b3df7a45ee0e8ae9a613103634 Mon Sep 17 00:00:00 2001 From: molvqingtai Date: Wed, 9 Oct 2024 19:22:24 +0800 Subject: [PATCH] ci: submit store test --- .github/workflows/cd.yml | 4 ---- .releaserc.mjs | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 5cdc2a8..fe2b121 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -42,10 +42,6 @@ jobs: - run: pnpm semantic-release env: GH_TOKEN: ${{ secrets.WEB_CHAT_GITHUB_TOKEN }} - - run: | - pnpm wxt submit --dry-run \ - --chrome-zip .output/*-chrome.zip - env: CHROME_EXTENSION_ID: ${{ secrets.CHROME_EXTENSION_ID }} CHROME_CLIENT_ID: ${{ secrets.CHROME_CLIENT_ID }} CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }} diff --git a/.releaserc.mjs b/.releaserc.mjs index c68ef23..b872603 100644 --- a/.releaserc.mjs +++ b/.releaserc.mjs @@ -21,7 +21,7 @@ export default { [ '@semantic-release/exec', { - prepareCmd: 'pnpm run pack' + prepareCmd: `npm run pack && pnpm wxt submit --dry-run --chrome-zip .output/${name}-\${nextRelease.version}-chrome.zip` } ], /**