bayestraits: fix regex

This commit is contained in:
Kuoi 2023-10-11 18:59:20 +08:00
parent 68321f5e4a
commit b33e4ac720

View file

@ -8,6 +8,5 @@ pre_build_script: |
post_build_script: |
git_pkgbuild_commit()
update_on:
- source: regex
url: "http://www.evolution.reading.ac.uk/BayesTraits.html"
regex: 'BayesTraits V(\d+[.\d+]*) - Source Code'
- source: cmd
cmd: curl -sS http://www.evolution.reading.ac.uk/BayesTraits.html | head -n 1 | sed "s@V@ @g;s@/@ @g" | awk '{print $7}'