fasta: fix url search

This commit is contained in:
Kuoi 2022-11-23 00:22:43 +08:00 committed by GitHub
parent 86883300ca
commit 940046f873
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,4 +6,4 @@ pre_build: vcs_update
post_build: git_pkgbuild_commit
update_on:
- source: cmd
cmd: curl -sS https://raw.githubusercontent.com/wrpearson/fasta36/v36.3.8/README.md | grep 'fasta-' | sed 's/\*\*/ /g' | awk '{print $3}' | sed 's/-/ /g' | awk '{print $2}' | head -n 1
cmd: curl -sS https://raw.githubusercontent.com/wrpearson/fasta36/v36.3.8/README.md | grep 'Changes in' | sed 's/-/ /g' | sed 's/\*\* /_/g' | sed 's/, /_/g' | head -n 1 | awk '{print $4}'