diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3a20f4e..7ffeb85 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -18,11 +18,14 @@ jobs: branch: main working_directory: ./how-ai-backend extra_plugins: | - @semantic-release/commit-analyzer + @semantic-release/commit-analyzer@9.0.2 @semantic-release/git env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Copy README + run: cp README.md how-ai/README.md + - name: Release Client uses: cycjimmy/semantic-release-action@v3 with: diff --git a/how-ai-backend/HowAI/src/service.ts b/how-ai-backend/HowAI/src/service.ts index 13032dd..ac68a97 100644 --- a/how-ai-backend/HowAI/src/service.ts +++ b/how-ai-backend/HowAI/src/service.ts @@ -37,6 +37,7 @@ export async function command(platform: string, prompt: string) { flags }; } catch (err) { + console.log(err) throw err; }