yasm: switch checkver and downloads to GitHub instead (#2798)

GitHub checkvers would usually be easy to maintain and we would not have version update problems in case the website changes for example
Easier for maintenance
This commit is contained in:
Pratik Chowdhury 2021-10-24 11:33:59 +05:30 committed by GitHub
parent 5edcef6316
commit 2d7c452cd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,25 +6,24 @@
"architecture": { "architecture": {
"64bit": { "64bit": {
"hash": "d160b1d97266f3f28a71b4420a0ad2cd088a7977c2dd3b25af155652d8d8d91f", "hash": "d160b1d97266f3f28a71b4420a0ad2cd088a7977c2dd3b25af155652d8d8d91f",
"url": "http://www.tortall.net/projects/yasm/releases/yasm-1.3.0-win64.exe#/yasm.exe" "url": "https://github.com/yasm/yasm/releases/download/v1.3.0/yasm-1.3.0-win64.exe#/yasm.exe"
}, },
"32bit": { "32bit": {
"hash": "db8ef9348ae858354cee4cc2f99e0f36de8a47a121de4cfeea5a16d45dd5ac1b", "hash": "db8ef9348ae858354cee4cc2f99e0f36de8a47a121de4cfeea5a16d45dd5ac1b",
"url": "http://www.tortall.net/projects/yasm/releases/yasm-1.3.0-win32.exe#/yasm.exe" "url": "https://github.com/yasm/yasm/releases/download/v1.3.0/yasm-1.3.0-win32.exe#/yasm.exe"
} }
}, },
"bin": "yasm.exe", "bin": "yasm.exe",
"checkver": { "checkver": {
"url": "http://yasm.tortall.net/Download.html", "github": "https://github.com/yasm/yasm"
"regex": "Latest Release: ([\\d.]+)"
}, },
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "http://www.tortall.net/projects/yasm/releases/yasm-$version-win64.exe#/yasm.exe" "url": "https://github.com/yasm/yasm/releases/download/v$version/yasm-$version-win64.exe#/yasm.exe"
}, },
"32bit": { "32bit": {
"url": "http://www.tortall.net/projects/yasm/releases/yasm-$version-win32.exe#/yasm.exe" "url": "https://github.com/yasm/yasm/releases/download/v$version/yasm-$version-win32.exe#/yasm.exe"
} }
} }
} }