diff --git a/CHANGELOG.md b/CHANGELOG.md index cfd9128e..4348137b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ -6.1.0 +6.1.1 (7/13/2022) +------------------- + * Allow SDK directories to contain any version suffix + +6.1.0 (6/28/2022) ------------------- * Re-enabled installing CI builds * Updated minor/patch dependencies diff --git a/lib/commands/sdk.js b/lib/commands/sdk.js index 30e3cf5b..2dffeb5a 100644 --- a/lib/commands/sdk.js +++ b/lib/commands/sdk.js @@ -30,7 +30,11 @@ exports.desc = 'manages installed Titanium SDKs'; /** @namespace SdkSubcommands */ const SdkSubcommands = {}; -const versionRegExp = /^(\d+)\.(\d+)\.(\d+)(?:\.\w+)?$/i; +// X.Y.Z +// X.Y.Z.GA or X.Y.Z.RC or X.Y.Z.GA.foo or X.Y.Z.GA.foo.bar +// X.Y.Z.foo or X.Y.Z.foo.bar +const versionRegExp = /^(\d+)\.(\d+)\.(\d+)(?:\.\w+)?/i; + const sortTypes = [ 'beta', 'rc', 'ga' ]; const releaseTypeMap = { latest: 'ga', diff --git a/package.json b/package.json index 92eba286..1961e905 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "mobile web", "appc-client" ], - "version": "6.1.0", + "version": "6.1.1", "author": "TiDev, Inc. ", "bugs": { "url": "https://github.com/tidev/titanium_mobile/issues"