far: semantic versioning (#4559)

This commit is contained in:
Chawye Hsu 2023-03-16 14:59:00 +08:00 committed by GitHub
parent ff6176570d
commit 64a04d1511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
{
"version": "30b6060",
"version": "3.0.6060",
"description": "A text-mode files and archives manager",
"homepage": "https://farmanager.com/",
"license": {
@ -37,15 +37,16 @@
],
"checkver": {
"url": "https://farmanager.com/download.php",
"regex": "files/Far(?<version>[b\\d]+).x64.(?<date>\\d+).7z"
"regex": "(?s)Stable.*?Far Manager v(?<version>[\\d.]+) build (?<build>[\\d]+).*?.x64.(?<date>\\d+).7z",
"replace": "${version}.${build}"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://farmanager.com/files/Far$version.x64.$matchDate.7z"
"url": "https://farmanager.com/files/Far$majorVersion$minorVersionb$patchVersion.x64.$matchDate.7z"
},
"32bit": {
"url": "https://farmanager.com/files/Far$version.x86.$matchDate.7z"
"url": "https://farmanager.com/files/Far$majorVersion$minorVersionb$patchVersion.x86.$matchDate.7z"
}
}
}