forked from WP-API/WP-API
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: http://gsoc.svn.wordpress.org/2013/rmccue/trunk@2340 f69abe3c-2ee2-4550-9a6d-17bd458115be
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |