File tree Expand file tree Collapse file tree 1 file changed +14
-16
lines changed
Expand file tree Collapse file tree 1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change 6666fi
6767
6868if ! make release-iso 2>&1 | tee iso-logs.txt; then
69- # Exit of `make` (PIPESTATUS[0]); fallback to 1 if unavailable
70- ec=${PIPESTATUS[0]:- 1}
71-
72- # Only comment on non-release; default release=false if unset
73- if [[ ${release:- false} != " true" ]]; then
74- body=" $( cat << 'EOF '
75- Hi ${ghprbPullAuthorLoginMention}, building a new ISO failed for Commit ${ghprbActualCommit}
76- See the logs at:
77- https://storage.cloud.google.com/minikube-builds/logs/${ghprbPullId}/${ghprbActualCommit::7}/iso_build.txt
78- EOF
79- "
80-
81- gh pr comment "${ghprbPullId}" --body "$body"
82-
83- fi
84- exit "$ec"
69+ # Exit of `make` (PIPESTATUS[0]); fallback to 1 if unavailable
70+ ec=${PIPESTATUS[0]:- 1}
71+
72+ # Only comment on non-release; default release=false if unset
73+ if [[ ${release:- false} != " true" ]]; then
74+ body=$( cat << EOF
75+ Hi ${ghprbPullAuthorLoginMention} , building a new ISO failed for Commit ${ghprbActualCommit}
76+ See the logs at:
77+ https://storage.cloud.google.com/minikube-builds/logs/${ghprbPullId} /${ghprbActualCommit:: 7} /iso_build.txt
78+ EOF
79+ )
80+ gh pr comment " ${ghprbPullId} " --body " $body "
81+ fi
82+ exit " $ec "
8583fi
8684
8785git config user.name " minikube-bot"
You can’t perform that action at this time.
0 commit comments