You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2017/03/01 23:13:25 UTC
[1/2] cordova-coho git commit: uncommenting actually running `git
push` commands
Repository: cordova-coho
Updated Branches:
refs/heads/plugins-releaser 348f0172b -> b1e777f9a
uncommenting actually running `git push` commands
Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/3d221456
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/3d221456
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/3d221456
Branch: refs/heads/plugins-releaser
Commit: 3d22145610475852641e2f40a5031e43673ffa58
Parents: 348f017
Author: filmaj <ma...@gmail.com>
Authored: Wed Mar 1 15:12:51 2017 -0800
Committer: filmaj <ma...@gmail.com>
Committed: Wed Mar 1 15:12:51 2017 -0800
----------------------------------------------------------------------
src/gitutil.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/3d221456/src/gitutil.js
----------------------------------------------------------------------
diff --git a/src/gitutil.js b/src/gitutil.js
index bdec01d..15a23dd 100644
--- a/src/gitutil.js
+++ b/src/gitutil.js
@@ -180,7 +180,7 @@ exports.tagRepo = function*(version) {
exports.pushToOrigin = function*(ref) {
// TODO TEST: uncomment once ready to test
- //return yield executil.execHelper(executil.ARGS('git push origin', ref));
+ return yield executil.execHelper(executil.ARGS('git push origin', ref));
}
exports.diff = function*(first, second) {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org
[2/2] cordova-coho git commit: ensure to increment patch version of
current release of plugins when re-adding the -dev suffix to versions during
plugin release.
Posted by fi...@apache.org.
ensure to increment patch version of current release of plugins when re-adding the -dev suffix to versions during plugin release.
Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/b1e777f9
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/b1e777f9
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/b1e777f9
Branch: refs/heads/plugins-releaser
Commit: b1e777f9a901a3b44a2ee6a49004437524507ad9
Parents: 3d22145
Author: filmaj <ma...@gmail.com>
Authored: Wed Mar 1 15:13:15 2017 -0800
Committer: filmaj <ma...@gmail.com>
Committed: Wed Mar 1 15:13:15 2017 -0800
----------------------------------------------------------------------
src/plugin-release.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/b1e777f9/src/plugin-release.js
----------------------------------------------------------------------
diff --git a/src/plugin-release.js b/src/plugin-release.js
index e6c7a13..175b041 100644
--- a/src/plugin-release.js
+++ b/src/plugin-release.js
@@ -474,11 +474,12 @@ function *interactive_plugins_release() {
return inquirer.prompt(prompts);
}).then(function() {
/* 11. Increment plugin versions back on the master branch to include -dev*/
+ // Also increment the patch version
// So, check out master branch and do the thing.
return co.wrap(function *() {
yield repoutil.forEachRepo(plugin_repos, function*(repo) {
var plugin_name = repo.repoName;
- var newest_version = plugin_data[plugin_name].current_release + '-dev';
+ var newest_version = semver.inc(plugin_data[plugin_name].current_release, 'patch') + '-dev';
console.log('Checking out master branch of', plugin_name, 'and setting version to', newest_version, ', then committing that change to master branch...');
yield gitutil.gitCheckout('master');
// store previous master HEAD, for later comparison/showing of diff
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org