Support MAC

pull/25054/head
Esun Kim 4 years ago
parent 79399461de
commit 8c3432aac2
  1. 6
      .github/change_repo_manager.sh

@ -27,9 +27,11 @@ BASE_PATH=$(dirname $0)
for file in bug_report.md cleanup_request.md feature_request.md question.md
do
sed -i -E "s/assignees: ([a-zA-Z0-9-]+)/assignees: $1/" $BASE_PATH/ISSUE_TEMPLATE/$file
sed -i".bak" -E "s/assignees: ([a-zA-Z0-9-]+)/assignees: $1/" "$BASE_PATH/ISSUE_TEMPLATE/$file"
rm "$BASE_PATH/ISSUE_TEMPLATE/$file.bak"
done
sed -i -E "s/^@([a-zA-Z0-9-]+)/@$1/" $BASE_PATH/pull_request_template.md
sed -i".bak" -E "s/^@([a-zA-Z0-9-]+)/@$1/" "$BASE_PATH/pull_request_template.md"
rm "$BASE_PATH/pull_request_template.md.bak"
echo "Done"

Loading…
Cancel
Save