From 40e0fb1cb602633a96991c85e6a2226f5823c62c Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Fri, 16 Feb 2024 14:56:41 +0000 Subject: [PATCH] fix error-handling for release-plan --- .github/workflows/plan-release.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/plan-release.yml b/.github/workflows/plan-release.yml index b40cf44..abd44fb 100644 --- a/.github/workflows/plan-release.yml +++ b/.github/workflows/plan-release.yml @@ -61,7 +61,7 @@ jobs: - name: "Generate Explanation and Prep Changelogs" id: explanation run: | - set -x + set +e pnpm release-plan prepare 2> >(tee -a stderr.log >&2) @@ -69,13 +69,12 @@ jobs: echo 'text<> $GITHUB_OUTPUT cat stderr.log >> $GITHUB_OUTPUT echo 'EOF' >> $GITHUB_OUTPUT + rm stderr.log else echo 'text<> $GITHUB_OUTPUT jq .description .release-plan.json -r >> $GITHUB_OUTPUT echo 'EOF' >> $GITHUB_OUTPUT fi - - exit 0 env: GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}