Skip to content

Commit

Permalink
Merge pull request #211 from appcelerator/timob-18783_4_0_X
Browse files Browse the repository at this point in the history
[TIMOB-18783] Capped SDK version monkey patch for which --password is co...
  • Loading branch information
cb1kenobi committed Apr 7, 2015
2 parents e140b61 + 9ff97c1 commit ab4418a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
4.0.0
4.0.0 (Unreleased)
-------------------
* Ripped out all authentication requirements. Analytics are now anonymous. Login and logout are no ops. [TIMOB-18711]
* Added support for generic Titanium SDK-level info [TIMOB-17836]
* Allow the colors to be controlled explicitly regardless if attached or detached from a TTY
* Fixed bug where abbreviated options without values passed in before the last argument being treated as a boolean [TIMOB-18067]
* Ripped out all authentication requirements. Analytics are now anonymous. Login and logout are no ops. [TIMOB-18711]
* Capped SDK version monkey patch for which --password is converted to --store-password for Android [TIMOB-18783]

3.4.2
3.4.2 (3/6/2015)
-------------------
* Fixed compatibility issues with Node 0.12 [TIMOB-18538]
* Added Node.js version check when using a Titanium SDK [TIMOB-18629]
Expand Down
2 changes: 1 addition & 1 deletion hooks/tisdk3fixes.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ exports.init = function (logger, config, cli, appc) {
// there was a bug in 3.2.0 where the --store-password was being forced to
// --password when forking the correct SDK command with a SDK >= 3.2.0, so we
// need to reverse it
if (sdk && appc.version.gte(sdk, '3.2.0') && cli.argv.platform == 'android' && !cli.argv['store-password'] && cli.argv.password) {
if (sdk && appc.version.gte(sdk, '3.2.0') && appc.version.lt(sdk, '4.0.0') && cli.argv.platform === 'android' && !cli.argv['store-password'] && cli.argv.password) {
cli.argv['store-password'] = cli.argv.password;
}
});
Expand Down

0 comments on commit ab4418a

Please sign in to comment.