mesquite: use cmd

This commit is contained in:
Kuoi 2022-12-01 00:03:24 +08:00 committed by GitHub
parent 8382b4c2f8
commit cdf3476e5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,8 +10,5 @@ post_build_script: |
git_commit()
update_aur_repo()
update_on:
- source: github
github: MesquiteProject/MesquiteCore
use_latest_release: true
from_pattern: v(\d+\.\d+-\w+-\d+)
to_pattern: \1\.\2_\3_\4
- source: cmd
cmd: curl -sS https://github.com/MesquiteProject/MesquiteCore/tags | grep '/MesquiteProject/MesquiteCore/releases/tag' | head -n 1 | sed 's@MesquiteProject/MesquiteCore/releases/tag/v@ @g' | awk '{print $6}' | sed 's@"@@g' | sed 's@-@_@g'