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` } ], /**