Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cordova Wiki" for change notification.
The "StepsForPluginRelease" page has been changed by AndrewGrieve: https://wiki.apache.org/cordova/StepsForPluginRelease?action=diff&rev1=7&rev2=8 }}} - == Merge Changes into master == + == Merge Changes into master & tag == {{{ ./cordova-coho/coho foreach -r plugins "git checkout master" ./cordova-coho/coho foreach -r plugins "git merge dev --ff-only" + for l in cordova-plugin-*; do ( cd $l; v="r$(grep version= plugin.xml | grep -v xml | cut -d'"' -f2)"; echo "Tagging $l to $v"; git tag "$v" ); done }}} == Update dev branch's version == * For each plugin that had unreleased commits: * Rationale: So that the version on dev is greater than the version on master. {{{ - git checkout dev - # Edit version within plugin.xml by incrementing the micro and adding the ''-dev'' suffix. + ./cordova-coho/coho foreach -r plugins "git checkout dev" + for l in cordova-plugin-*; do ( cd $l; v="$(grep version= plugin.xml | grep -v xml | cut -d'"' -f2)"; if [[ $v != *-dev ]]; then v2="$(echo $v|awk -F"." '{$NF+=1}{print $0RT}' OFS="." ORS="")-dev"; echo "$l: Setting version to $v2"; sed -i '' -E s:"version=\"$v\":version=\"$v2\":" plugin.xml; fi) ; done - git commit -am "[CB-####] Incremented plugin version on dev branch." + ./cordova-coho/coho foreach -r plugins "git commit -am '[CB-####] Incremented plugin version on dev branch.'" }}} == Test == + * Create mobilespec using the old versions of plugins (by checking them out to the previous tag) - * Create mobilespec using the old versions of plugins - * TODO: How do you do this? Using plugman-registry probably? * Perform a "plugin upgrade" for plugins that have changes * Right now, this means doing a `plugin remove` followed by a `plugin add` * Run through mobilespec, ensuring to do manual tests that relate to changes in the changelog @@ -71, +71 @@ # Blog Post: svn commit # Plugin Changes: + ./cordova-coho/coho repo-status -r plugins -b dev -b master ./cordova-coho/coho repo-push -r plugins -b dev -b master + ./cordova-coho/coho foreach -r plugins "git push --tags" }}} == Close JIRA Issue ==
