1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Set git config to commit mjit-debug

As it failed to commit like:
https://app.wercker.com/ruby/ruby/runs/mjit-test1/5cefd8a8105780001c4f2d5d?step=5cefdd1e48fad200077fa3f8
This commit is contained in:
Takashi Kokubun 2019-05-31 07:24:08 +09:00
parent cb40a21da0
commit 6a5e89e23c
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -27,7 +27,7 @@ mjit-test1:
name: install mjit-debug-on-fail
code: |
cat <<'EOS' > /usr/local/bin/mjit-debug-on-fail
#!/bin/bash
#!/bin/bash -x
if ! "$@"; then
git clone --depth=1 git@github.com:ruby/mjit-debug
cd mjit-debug
@ -36,6 +36,8 @@ mjit-test1:
mkdir "$debug_dir"
cp /tmp/_ruby_mjit*.c "$debug_dir"
git config --global user.email "ruby@app.wercker.com"
git config --global user.name "Wercker ruby/ruby"
git add "$debug_dir"
git commit -m "Debug ${debug_dir}: ${WERCKER_BUILD_URL}"
git push origin master