diff --git a/haxe.json b/haxe.json
index dee0fbf560..9c2af9e16e 100644
--- a/haxe.json
+++ b/haxe.json
@@ -1,10 +1,10 @@
{
"homepage": "https://haxe.org/",
- "version": "3.4.0-rc.2",
+ "version": "3.4.0",
"license": "https://haxe.org/foundation/open-source.html",
- "url": "https://haxe.org/website-content/downloads/3.4.0-rc.2/downloads/haxe-3.4.0-rc.2-win.zip",
- "hash": "6bc4a74b6738c270673a8033e91caf381120d0315c84072e94f9079e268048d0",
- "extract_dir": "haxe-3.4.0-rc2",
+ "url": "https://haxe.org/website-content/downloads/3.4.0/downloads/haxe-3.4.0-win.zip",
+ "hash": "9e9963ff3d166593efd736d3045863098391d94406ddb40898cc79307f1a06d4",
+ "extract_dir": "haxe-3.4.0",
"bin": [
"haxe.exe",
"haxelib.exe"
@@ -15,10 +15,10 @@
"depends": "neko",
"checkver": {
"url": "https://haxe.org/download/list/",
- "re": "The current stable version is ]+>(([\\d\\.]+)(-rc)?\\.?([\\d]+)?)"
+ "re": "The current stable version is ]+>((?[\\d.]+)(?-rc|())?\\.?(?[\\d]+|())?)"
},
"autoupdate": {
"url": "https://haxe.org/website-content/downloads/$version/downloads/haxe-$version-win.zip",
- "extract_dir": "haxe-$match2$match3$match4"
+ "extract_dir": "haxe-$version$matchRc$matchBuild"
}
}