main
pengjunwu 2024-01-24 16:31:58 +08:00
parent d544626946
commit 4fde946816
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ if [[ $text =~ (Assets\/[^:\(]+)\/([^:\(]+\.cs)[:\(]([0-9]+) ]]; then
echo "blame line_num: $line_number"
cd ../../ProjectNLD/"$path" || exit
last_commit_author=$(git blame -L "$line_number" "$fileName" | awk '{print $2; exit}')
message="fileName:$fileName \r\n line_num:$line_number \r\n author:${last_commit_author:1}"
message="fileName:$path/$fileName \r\n line_num:$line_number \r\n author:${last_commit_author:1}"
echo "message:$message"
cd "$script_directory" || exit
sh to_inner_wechat_robot.sh "$message"