From 4a98db443b9ab959f7a276856e265cc451d01424 Mon Sep 17 00:00:00 2001 From: molvqingtai Date: Sat, 28 Sep 2024 07:47:20 +0800 Subject: [PATCH] fix: test release flow --- .github/workflows/cd.yml | 2 +- .releaserc | 28 +--------------------------- 2 files changed, 2 insertions(+), 28 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 24c7264..85e148f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -39,6 +39,6 @@ jobs: version: latest - run: pnpm install --ignore-scripts - run: pnpm wxt prepare - - run: pnpm semantic-release --debug + - run: pnpm semantic-release --debug --dry-run env: GH_TOKEN: ${{ secrets.WEB_CHAT_GITHUB_TOKEN }} diff --git a/.releaserc b/.releaserc index 648073e..94d9233 100644 --- a/.releaserc +++ b/.releaserc @@ -6,32 +6,6 @@ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/changelog", - [ - "@semantic-release/exec", - { - "prepareCmd": "pnpm pack:chrome && cat package.json" - } - ], - [ - "@semantic-release/github", - { - "assets": [ - { - "path": "${{ github.workspace }}/.output/web-chat-${{ nextRelease.version }}-chrome.zip" - } - ], - "labels": [ - "release" - ] - } - ], - [ - "@semantic-release/git", - { - "assets": [ - "package.json" - ] - } - ] + "@semantic-release/git" ] }