ahhh, gotcha. I think the root of the problem here is that our version scheme doesn't play well with npm. It assumes everything after an - is a pre-release, and sorts that part alphabetically.
I just unpublished -rc.2 and now an update -g cordova gives me the correct version. On Tue, Mar 11, 2014 at 12:49 PM, Carlos Santana <[email protected]>wrote: > Ah just discovered something else: > > $mkdir -p ~/foo/cordova && cd ~/foo/cordova && npm install > [email protected] && npm outdated > > Checkout what's under "Wanted" vs. "Latest" > > Package Current Wanted Latest Location > > cordova 3.4.0-0.1.2 3.4.0-rc.2 3.4.0-0.1.3 cordova > > > > On Tue, Mar 11, 2014 at 12:38 PM, Carlos Santana <[email protected] > >wrote: > > > No good for users, we are telling them in the release note [1] to use > > "npm update -g cordova" and this will get them the RC not the latest > > version. > > > > To update your tools: > > > > npm update -g cordova > > npm update -g plugman > > > > > > > > 1: http://cordova.apache.org/news/2014/03/05/tools-release.html > > > > > > On Tue, Mar 11, 2014 at 12:32 PM, Andrew Grieve <[email protected] > >wrote: > > > >> so, all good? > >> > >> > >> On Tue, Mar 11, 2014 at 11:32 AM, Carlos Santana <[email protected] > >> >wrote: > >> > >> > sorry about the typo > >> > Last command to install was $npm install -g cordova > >> > > >> > then I got the correct version 3.4.0-0.1.3 > >> > > >> > > >> > On Tue, Mar 11, 2014 at 11:29 AM, Carlos Santana < > [email protected] > >> > >wrote: > >> > > >> > > use npm update -g cordova > >> > > > >> > > went from 3.4.0-0.1.0 to 3.4.0-rc2 > >> > > > >> > > > >> > > https://issues.apache.org/jira/browse/CB-6215 > >> > > > >> > > > >> > > $node -v > >> > > v0.10.26 > >> > > > >> > > $npm -v > >> > > 1.4.3 > >> > > > >> > > $cordova -v > >> > > 3.4.0-0.1.0 > >> > > > >> > > $npm ls -g cordova > >> > > /Users/csantana23/.nvm/v0.10.26/lib > >> > > ├── [email protected] > >> > > > >> > > $npm update -g cordova > >> > > > >> > > $cordova -v > >> > > 3.4.0-rc.2 > >> > > > >> > > $npm ls -g cordova > >> > > /Users/csantana23/.nvm/v0.10.26/lib > >> > > ├── [email protected] > >> > > > >> > > > >> > > $cordova install -g cordova > >> > > > >> > > $ cordova -v > >> > > 3.4.0-0.1.3 > >> > > > >> > > $ npm ls -g cordova > >> > > /Users/csantana23/.nvm/v0.10.26/lib > >> > > ├── [email protected] > >> > > > >> > > -- > >> > > Carlos Santana > >> > > <[email protected]> > >> > > > >> > > >> > > >> > > >> > -- > >> > Carlos Santana > >> > <[email protected]> > >> > > >> > > > > > > > > -- > > Carlos Santana > > <[email protected]> > > > > > > -- > Carlos Santana > <[email protected]> >
