Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automate version changes #37

Open
bitjson opened this issue Oct 5, 2016 · 0 comments
Open

Automate version changes #37

bitjson opened this issue Oct 5, 2016 · 0 comments

Comments

@bitjson
Copy link
Contributor

bitjson commented Oct 5, 2016

We need to be sure to increment the version in config.xml as well as package.json, since cordova seems to add that version as the spec when the plugin is added via:

cordova plugin add cordova-plugin-qrscanner --save

Right now, the above results in the following being added to config.xml, even though the currently deployed version on npm is 2.3.4:

<plugin name="cordova-plugin-qrscanner" spec="~2.2.0" />

It would be good to add something to the prep-release npm script to copy the package.json version over to config.xml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant