mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
More robust bench extraction
Allow travis.yml to recognize a variety of bench formats in commit messages, for instance: Bench: 5023593. (really). bench: 5023593 (it was 1234567) bench : 5023593 (blah blah) Bench:5023593 Bench: 5023593. 567 something (1234567) 563 No functional change.
This commit is contained in:
parent
ef61886332
commit
312a248fa9
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ before_script:
|
|||
|
||||
script:
|
||||
# Obtain bench reference from git log
|
||||
- git log HEAD | grep "\b[Bb]ench[ :]\+[0-9]\{7\}" | head -n 1 | sed "s/[^0-9]*\([0-9][0-9]*\)/\1/g" > git_sig
|
||||
- git log HEAD | grep "\b[Bb]ench[ :]\+[0-9]\{7\}" | head -n 1 | sed "s/[^0-9]*\([0-9]*\).*/\1/g" > git_sig
|
||||
- export benchref=$(cat git_sig)
|
||||
- echo "Reference bench:" $benchref
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue