Repository: cordova-coho Updated Branches: refs/heads/master ed8075734 -> 652ecd15d
Added coho update-release-notes command Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/652ecd15 Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/652ecd15 Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/652ecd15 Branch: refs/heads/master Commit: 652ecd15db0f4e5279fb69b4f069796ac00ef74f Parents: ed80757 Author: Steve Gill <[email protected]> Authored: Wed Nov 18 18:33:50 2015 -0800 Committer: Steve Gill <[email protected]> Committed: Wed Nov 18 18:33:50 2015 -0800 ---------------------------------------------------------------------- docs/plugins-release-process.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/652ecd15/docs/plugins-release-process.md ---------------------------------------------------------------------- diff --git a/docs/plugins-release-process.md b/docs/plugins-release-process.md index 04239c9..7fd3f13 100644 --- a/docs/plugins-release-process.md +++ b/docs/plugins-release-process.md @@ -104,11 +104,9 @@ For each of the plugins that have a test project inside it, update the version n for l in $ACTIVE; do ( cd $l; v="$(grep version= plugin.xml | grep -v xml | head -n1 | cut -d'"' -f2)"; vt="$(grep version= tests/plugin.xml | grep -v xml | head -n1 | cut -d'"' -f2)"; if [ "$v" != "$vt" ]; then echo "$l: Setting version to $v"; sed -i '' -E s:"version=\"$vt\":version=\"$v\":" tests/plugin.xml; fi); done -Update its RELEASENOTES.md file with changes +Update its RELEASENOTES.md file with changes. Assumes coho exists at `cordova-coho/coho` - # Add new heading to release notes with version and date - DATE=$(date "+%h %d, %Y") - for l in $ACTIVE; do ( cd $l; last_release=$(git describe --tags --abbrev=0 2>/dev/null || git rev-list --max-parents=0 HEAD); v="$(grep version= plugin.xml | grep -v xml | head -n1 | cut -d'"' -f2)"; echo -e "\n### $v ($DATE)" >> RELEASENOTES.md; git log --pretty=format:'* %s' --topo-order --no-merges $last_release..master | grep -v "Incremented plugin version" >> RELEASENOTES.md); done + for l in $ACTIVE; do (./cordova-coho/coho update-release-notes -r $l); done # Then curate: vim ${ACTIVE// //RELEASENOTES.md }/RELEASENOTES.md --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
