Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-317] Titanium CLI: Call latest major version of Titanium appc plugin

GitHub Issuen/a
TypeImprovement
PriorityCritical
StatusResolved
ResolutionFixed
Resolution Date2020-02-13T22:41:48.000+0000
Affected Version/sn/a
Fix Version/sAppc Daemon 4.0.0
ComponentsTitanium CLI
Labelscb-next
ReporterChris Barber
AssigneeChris Barber
Created2020-02-10T14:55:03.000+0000
Updated2020-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>

Comments

  1. Chris Barber 2020-02-13

    PR: https://github.com/appcelerator/titanium/pull/357

JSON Source