Skip to content

Commit

Permalink
Merge pull request #158 from adopted-ember-addons/fix-release-plan
Browse files Browse the repository at this point in the history
fix error-handling for release-plan
  • Loading branch information
mansona authored Feb 16, 2024
2 parents 62c80c4 + 40e0fb1 commit 20037fb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/plan-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,21 +61,20 @@ jobs:
- name: "Generate Explanation and Prep Changelogs"
id: explanation
run: |
set -x
set +e
pnpm release-plan prepare 2> >(tee -a stderr.log >&2)
if [ $? -ne 0 ]; then
echo 'text<<EOF' >> $GITHUB_OUTPUT
cat stderr.log >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
rm stderr.log
else
echo 'text<<EOF' >> $GITHUB_OUTPUT
jq .description .release-plan.json -r >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
fi
exit 0
env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 20037fb

Please sign in to comment.