Skip to content

Commit

Permalink
Add release process documentation
Browse files Browse the repository at this point in the history
git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2340 f69abe3c-2ee2-4550-9a6d-17bd458115be
  • Loading branch information
rmccue committed Sep 21, 2013
1 parent 2174c10 commit 7dc6d27
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/internals/release-process.md
@@ -0,0 +1,29 @@
Release Process
===============
Here's the process used to generate new releases for the API plugin.

* Write changelog items for this release. Generate these automatically with the
following script:

SINCE=$1
if [[ -z $SINCE ]]; then
echo "usage: changelog <since>"
exit 1
fi

OUTPUT=$(git log $SINCE... --reverse --format="format:- %w(80,0,4)%B")
OUTPUT=$(echo "$OUTPUT" | awk -v nlines=2 "/^ *git-svn-id:/ {for (i=0; i<nlines; i++) {getline}; next} 1")
OUTPUT=$(echo "$OUTPUT" | grep -v "^$")

echo "$OUTPUT"

* Bump version in plugin.php
* Bump version in lib/class-wp-json-server.php
* `gsocpush` (`alias gsocpush='git svn dcommit && git push'`)
* `git tag -a 0.x` - Tag with a message like:

Version 0.x: Major Feature

Summary of the big features in this release.

* Sync to plugin repo

0 comments on commit 7dc6d27

Please sign in to comment.