Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7200c40

Browse files
authored
make each line a codeblock
1 parentfd07930 commit7200c40

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎scripts/prepmsg.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ set -ex
1010

1111
URL="https://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_NUMBER}"
1212
echo"❌ *${GITHUB_JOB}* ([ID *${GITHUB_RUN_NUMBER}*]($URL)):">$2
13-
echo'```'>>$2
14-
grep'cpython/Doc/.*WARNING:'$1| sed's|.*/cpython/Doc|Doc|'| uniq>>$2
15-
echo'```'>>$2
13+
grep'cpython/Doc/.*WARNING:'$1| \
14+
sed's|.*/cpython/Doc|Doc|'| \
15+
uniq| \
16+
sed's|^|```\n|;s|$|\n```\n|' \
17+
>>$2

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp