Repository: orc Updated Branches: refs/heads/asf-site de89e0727 -> dda246b2a
Publish make-release site changes Project: http://git-wip-us.apache.org/repos/asf/orc/repo Commit: http://git-wip-us.apache.org/repos/asf/orc/commit/dda246b2 Tree: http://git-wip-us.apache.org/repos/asf/orc/tree/dda246b2 Diff: http://git-wip-us.apache.org/repos/asf/orc/diff/dda246b2 Branch: refs/heads/asf-site Commit: dda246b2a83661966eccc9d4ab55edd0ed96074c Parents: de89e07 Author: Prasanth Jayachandran <[email protected]> Authored: Tue Oct 17 01:52:09 2017 -0700 Committer: Prasanth Jayachandran <[email protected]> Committed: Tue Oct 17 01:52:09 2017 -0700 ---------------------------------------------------------------------- develop/make-release.html | 60 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 49 insertions(+), 11 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/orc/blob/dda246b2/develop/make-release.html ---------------------------------------------------------------------- diff --git a/develop/make-release.html b/develop/make-release.html index 4fdb38d..f7da80e 100644 --- a/develop/make-release.html +++ b/develop/make-release.html @@ -122,7 +122,10 @@ sftp> put orc-X.Y.Zrc0* sftp> quit </code></pre> -<p>Make sure your GPG exists in https://dist.apache.org/repos/dist/release/orc/KEYS for others to verify signature in RC</p> +<p>Make sure your GPG key exists <a href="https://dist.apache.org/repos/dist/release/orc/KEYS">here</a> for others to verify signature in RC</p> + +<p>Click the version to release (X.Y.Z) <a href="https://issues.apache.org/jira/projects/ORC?selectedItem=com.atlassian.jira.jira-projects-plugin:release-page">here</a> +to get the list of jiras that are fixed in X.Y.Z</p> <p>Send email with the vote:</p> @@ -171,11 +174,15 @@ Thanks! % cd orc-X.Y.Z copy release artifacts with a rename from orc-X.Y.Zrc0* to orc-X.Y.Z* % svn add . -% svn commit -</code></pre> +% svn commit ---username <apacheid> -m "ORC X.Y.Z Release" -<p>We keep the latest patch release for each of the last two branches, so remove -extra releases from the Apache dist area.</p> +We keep the latest patch release for each of the last two branches, so remove +extra releases (say I.J.K) from the Apache dist area. + +% cd .. +% svn rm orc-I.J.K +% svn commit --username <apacheid> -m "Removed old release ORC I.J.K" +</code></pre> <p>Update the release branch with the version for the next release.</p> @@ -190,7 +197,22 @@ extra releases from the Apache dist area.</p> <ul> <li>Check out the master branch (git co apache/master)</li> - <li>Change directory in to site.</li> +</ul> + +<pre><code>Change directory in to site. +% pwd +<path-to-master-src> +% cd site +% mkdir target +% cd target +Set up site/target to be a separate git workspace that tracks the asf-site branch. +% git init +% git remote add origin https://git-wip-us.apache.org/repos/asf/orc.git -t asf-site +% git fetch origin +% git checkout asf-site +% cd .. +</code></pre> +<ul> <li>edit site/_data/releases.yml to add new release <ul> <li>update the state for the releases to match the changes in the Apache dist @@ -204,9 +226,18 @@ extra releases from the Apache dist area.</p> </li> <li>create a new file _posts/YYYY-MM-DD-ORC-X.Y.Z.md for the news section</li> <li>Run âbundle exec jekyll serveâ</li> - <li>Check the website on http:/0.0.0.0:4000/</li> - <li>If it looks good, use git add to add the new files and commit to master with a message of âupdate site for X.Y.Zâ.</li> - <li>Change directory into target.</li> + <li>Check the website on http://0.0.0.0:4000/</li> + <li>If it looks good, use git add (from within site directory) to add the new files and commit to master with a message of âupdate site for X.Y.Zâ.</li> +</ul> + +<pre><code>% pwd +<path-to-master-src>/site +% git commit -am "Update site for X.Y.Z" +% git push origin master +</code></pre> + +<ul> + <li>Change directory into site/target for publishing the site.</li> <li>Add the new files that you just generated. <ul> <li>This assumes youâve set up site/target to be a separate git workspace that tracks the asf-site branch.</li> @@ -215,15 +246,22 @@ extra releases from the Apache dist area.</p> <li>Commit to asf-site to publish the updated site.</li> </ul> +<pre><code>% cd target +% pwd +<path-to-master-src>/site/target +% git commit -am "Publish site for X.Y.Z" +% git push origin asf-site +</code></pre> + <p>Update ORCâs jira to reflect the released version.</p> <ul> - <li>Select the resolved issues and bulk transition them to closed. + <li>Select the resolved issues and bulk transition them to closed with following query <a href="https://issues.apache.org/jira/issues/?filter=-1">here</a>. <ul> <li>query: project = ORC AND fixVersion = X.Y.Z and status = Resolved ORDER BY created desc</li> </ul> </li> - <li>Mark the version as released and set the date.</li> + <li>Mark the version as released and set the date <a href="https://issues.apache.org/jira/projects/ORC?selectedItem=com.atlassian.jira.jira-projects-plugin:release-page">here</a>.</li> </ul> <p>It usually take up to 24 hours for the apache dist mirrors and maven central to update with the new release.</p>
