Skip to content

Commit

Permalink
Merge pull request #41 from JarvusInnovations/releases/github-actions…
Browse files Browse the repository at this point in the history
…/release-prepare/r7

fix(github-actions/release-prepare): correct logic and add debug output
  • Loading branch information
themightychris authored Jul 15, 2024
2 parents d0bee7b + aaa9899 commit 7ae785d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion github-actions/release-prepare/pull-request.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ fi

# prepare PR text
pr_title="Release: ${latest_release_bumped}"
if ! [ -f .github/release-pr-template.md ]; then
if [ -f .github/release-pr-template.md ]; then
echo "Using custom PR template"
pr_body="$(cat ".github/release-pr-template.md")"
else
echo "Using default PR template"
pr_body="$(cat "${GITHUB_ACTION_PATH}/release-pr-template.md")"
fi

Expand Down

0 comments on commit 7ae785d

Please sign in to comment.