From 2d7c452cd287cdbbaa082d845f0a26fa022cb53e Mon Sep 17 00:00:00 2001 From: Pratik Chowdhury Date: Sun, 24 Oct 2021 11:33:59 +0530 Subject: [PATCH] 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 --- bucket/yasm.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/bucket/yasm.json b/bucket/yasm.json index 2c8a92fcc2..9cdd5b2e57 100644 --- a/bucket/yasm.json +++ b/bucket/yasm.json @@ -6,25 +6,24 @@ "architecture": { "64bit": { "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": { "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", "checkver": { - "url": "http://yasm.tortall.net/Download.html", - "regex": "Latest Release: ([\\d.]+)" + "github": "https://github.com/yasm/yasm" }, "autoupdate": { "architecture": { "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": { - "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" } } }