[
https://issues.apache.org/jira/browse/HBASE-21836?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16778924#comment-16778924
]
stack commented on HBASE-21836:
-------------------------------
Deleted old notes because a few changes have come in. Here's how did update
after doing delete:
{code}
wget http://apache.claz.org/yetus/0.9.0/apache-yetus-0.9.0-bin.tar.gz
tar xfz apache-yetus-0.9.0-bin.tar.gz
cd apache-yetus-0.9.0/
# Needs /usr/lib/python2 in PATH -- might have to ln -s.
./bin/releasedocmaker -p HBASE --fileversions -v 2.0.5 -l --sortorder=newer
--skip-credits
# This generates RELEASENOTES.2.0.5.md and CHANGELOG.2.0.5.md
# To insert into hbase changes.md...need to cut the top off the
CHANGELOG.2.0.5.md file removing license and first line and then insert it
after the license comment.
# Here is how to trip the top
sed -i -e '/## Release/,$!d' CHANGELOG.2.0.5.md
# Now insert into hbase.git/CHANGES.md after the license
sed -i -e '/-->/r CHANGELOG.2.0.5.md' ../hbase.git/CHANGES.md
# Similar for RELEASENOTES but slightly different.
sed -i -e '/Release Notes/,$!d' RELEASENOTES.2.0.5.md
sed -i -e '/-->/r RELEASENOTES.2.0.5.md' ../hbase.git/RELEASENOTES.md
{code}
Recommitted the changes after checking they looked good.
> Generate CHANGES.md and RELEASENOTES.md for 2.0.5
> -------------------------------------------------
>
> Key: HBASE-21836
> URL: https://issues.apache.org/jira/browse/HBASE-21836
> Project: HBase
> Issue Type: Sub-task
> Reporter: Duo Zhang
> Assignee: stack
> Priority: Major
> Fix For: 2.0.5
>
>
> {noformat}
> $ cd /Users/stack/checkouts/yetus.git
> $ ./release-doc-maker/releasedocmaker.py -p HBASE --fileversions -v 2.0.5 -l
> --sortorder=newer --skip-credits
> {noformat}
> ... produces CHANGELOG.2.0.5.md and RELEASENOTES.2.0.5.md.
> Then in hbase.git checkout of branch-2.0 tip, edit the CHANGES.md.
> Set the 2.0.4 released date.
> Read in the generated yetus file. Drop the license and the Changelog header
> (already license and header in the file we are reading into). Ditto for RNs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)