[DAEMON-317] Titanium CLI: Call latest major version of Titanium appc plugin
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Critical |
Status | Resolved |
Resolution | Fixed |
Resolution Date | 2020-02-13T22:41:48.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Appc Daemon 4.0.0 |
Components | Titanium CLI |
Labels | cb-next |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2020-02-10T14:55:03.000+0000 |
Updated | 2020-03-31T20:12:29.000+0000 |
Description
The Titanium appcd plugin ships with the Titanium CLI as well as the Appc Daemon default plugins (which is going to change). If the Titanium CLI references @appcd/plugin-titanium@1.1.0, but the default plugins references v1.2.0, then the Titanium CLI should call 1.2.0, not 1.1.0.
To solve this, simply call the major version:
/titanium/${semver.major(packageJson.dependencies['@appcd/plugin-titanium'])}/<service>
PR: https://github.com/appcelerator/titanium/pull/357