Skip to content
This repository was archived by the owner on Mar 27, 2026. It is now read-only.

Commit c3df33d

Browse files
committed
Update version regex
1 parent 07302e7 commit c3df33d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mixins/external-data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ const mainCI = "https://ci.ender.zone/job/EssentialsX/";
196196
const mainCIAPI = "https://ci-api.essentialsx.net/job/EssentialsX/";
197197
const mirrorCI = "https://ci.lucko.me/job/EssentialsX/";
198198
const moduleRegex = /EssentialsX([A-Za-z]+)/;
199-
const versionRegex = /EssentialsX[a-zA-Z]*-([0-9\.]+?(?:-dev\+[0-9]+)?(?:-([0-9a-fA-F]+?))?)\.jar/;
199+
const versionRegex = /EssentialsX[a-zA-Z]*-([0-9\.]+?(?:-(?:dev|rc|beta|alpha)\+[0-9]+)?(?:-([0-9a-fA-F]+?))?)\.jar/;
200200

201201
function getVersionFromArtifact(name) {
202202
let m;

0 commit comments

Comments
 (0)