Skip to content

Commit

Permalink
show unlabelled PRs in the Plan Release PR
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Feb 16, 2024
1 parent 8187eed commit 1ba5698
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions plan-release-template.yml.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,22 @@ jobs:
- name: "Generate Explanation and Prep Changelogs"
id: explanation
run: |
set -x
set +e
<% if (pnpm) { %>
pnpm release-plan prepare
pnpm release-plan prepare 2> >(tee -a stderr.log >&2)
<% } else { %>
npx release-plan prepare
npx release-plan prepare 2> >(tee -a stderr.log >&2)
<% } %>
echo 'text<<EOF' >> $GITHUB_OUTPUT
jq .description .release-plan.json -r >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT

if [ $? -ne 0 ]; then
echo 'text<<EOF' >> $GITHUB_OUTPUT
cat stderr.log >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
else
echo 'text<<EOF' >> $GITHUB_OUTPUT
jq .description .release-plan.json -r >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
fi
env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 1ba5698

Please sign in to comment.