From bddc8b0e2321c5c9b705af2d3d983d9d6661c80b Mon Sep 17 00:00:00 2001 From: Hao Cheng <12221881+tkit1994@users.noreply.github.com> Date: Mon, 2 Dec 2024 08:31:22 +0800 Subject: [PATCH] freecad: Update to version 1.0.0 (#14456) * freecad: Update to version 1.0.0 * freecad@1.0.0: Enhance checkver & autoupdate --------- Co-authored-by: HaoCheng Co-authored-by: Aliaksandr Belik <1752374+aliesbelik@users.noreply.github.com> --- bucket/freecad.json | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/bucket/freecad.json b/bucket/freecad.json index ad39152d7a7384..9b78f24883813d 100644 --- a/bucket/freecad.json +++ b/bucket/freecad.json @@ -1,12 +1,12 @@ { - "version": "0.21.2", + "version": "1.0.0", "description": "A free and open-source multi-platform parametric 3D modeler.", "homepage": "https://www.freecadweb.org", "license": "LGPL-2.0-or-later", "architecture": { "64bit": { - "url": "https://github.com/FreeCAD/FreeCAD/releases/download/0.21.2/FreeCAD-0.21.2-Windows-x86_64.7z", - "hash": "06a8f162e3fa9bd8cc98c0cf117d1b3507b9a6564d3da0d16bc5e5c11d7e7880" + "url": "https://github.com/FreeCAD/FreeCAD/releases/download/1.0.0/FreeCAD_1.0.0-conda-Windows-x86_64-py311.7z", + "hash": "c32c43897172c2669ade854a4e71b9e158e7e86dfaf728e2aba0b6e3104347ae" } }, "pre_install": "pushd $dir ; mv */* . ; rm FreeCAD_* ; popd", @@ -19,13 +19,12 @@ ], "checkver": { "url": "https://api.github.com/repositories/5736080/releases", - "regex": "FreeCAD-([\\d.]+)-Windows-x86_64((-\\d+)?)\\.7z", - "replace": "${1}${2}" + "regex": "FreeCAD_([\\d.]+)-conda-Windows-x86_64-(?[\\w.-]+)\\.7z" }, "autoupdate": { "architecture": { "64bit": { - "url": "https://github.com/FreeCAD/FreeCAD/releases/download/$matchHead/FreeCAD-$matchHead-Windows-x86_64$matchTail.7z" + "url": "https://github.com/FreeCAD/FreeCAD/releases/download/$matchHead/FreeCAD_$version-conda-Windows-x86_64-$matchSuffix.7z" } }, "hash": {