Adding version detection based on .js files params
parent
3e1423b48d
commit
337563d59a
|
@ -16,24 +16,24 @@ requests:
|
|||
path:
|
||||
- "{{BaseURL}}"
|
||||
- "{{BaseURL}}/CHANGELOG.md"
|
||||
|
||||
stop-at-first-match: true
|
||||
matchers-condition: or
|
||||
stop-at-first-match: true
|
||||
matchers:
|
||||
- type: regex
|
||||
regex:
|
||||
- '(?i)base\.min\.js\?v=([\d.|\d]+)">'
|
||||
- type: regex
|
||||
regex:
|
||||
- '(?i)jquery\.min\.js\?v=([\d.|\d]+)">'
|
||||
- type: word
|
||||
words:
|
||||
- "GLPI changes"
|
||||
- "glpi-project.org"
|
||||
condition: and
|
||||
|
||||
- type: regex
|
||||
regex:
|
||||
- '(GLPI.*[C|c]opyright.*(|Teclib))'
|
||||
|
||||
extractors:
|
||||
- type: regex
|
||||
name: version
|
||||
part: body
|
||||
group: 1
|
||||
regex:
|
||||
- '# GLPI changes\n\n.*\n.*\n.*\n##\s\[(\d+\.\d+|\d+\.\d+\.\d+)\]'
|
||||
- '(?i)base\.min\.js\?v=([\d.|\d]+)">'
|
||||
- '(?i)jquery\.min\.js\?v=([\d.|\d]+)">'
|
||||
- '(?i)# GLPI changes\n\n.*\n.*\n.*\n##\s\[(\d+\.\d+|\d+\.\d+\.\d+)\]'
|
||||
|
|
Loading…
Reference in New Issue