This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new bf7b8df  Updated site at revision 254b446
bf7b8df is described below

commit bf7b8df1842707cbc6a5cfe99a4e3ed6eb7dc776
Author: jenkins <[email protected]>
AuthorDate: Wed May 30 08:31:25 2018 +0000

    Updated site at revision 254b446
---
 content/community/release_guide/index.html | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/content/community/release_guide/index.html 
b/content/community/release_guide/index.html
index 3d409ce..3304cbd 100644
--- a/content/community/release_guide/index.html
+++ b/content/community/release_guide/index.html
@@ -281,6 +281,7 @@
       <li><a href="#advance-version-on-release-branch" 
id="markdown-toc-advance-version-on-release-branch">Advance version on release 
branch</a></li>
       <li><a href="#deploy-artifacts-to-maven-central-repository" 
id="markdown-toc-deploy-artifacts-to-maven-central-repository">Deploy artifacts 
to Maven Central Repository</a></li>
       <li><a href="#deploy-source-release-to-distapacheorg" 
id="markdown-toc-deploy-source-release-to-distapacheorg">Deploy source release 
to dist.apache.org</a></li>
+      <li><a href="#git-tag" id="markdown-toc-git-tag">Git tag</a></li>
       <li><a href="#update-website" id="markdown-toc-update-website">Update 
Website</a></li>
       <li><a href="#update-dockerfile" 
id="markdown-toc-update-dockerfile">Update Dockerfile</a></li>
       <li><a href="#update-dcos-bookkeeper-package" 
id="markdown-toc-update-dcos-bookkeeper-package">Update DC/OS BookKeeper 
package</a></li>
@@ -589,6 +590,7 @@ It ensures the release candidate built with right jni 
library for <code class="h
 <div class="highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>RC_NUM="0"
 TAG="release-${VERSION}"
 RC_DIR="bookkeeper-${VERSION}-rc${RC_NUM}"
+RC_TAG="v${VERSION}-rc${RC_NUM}"
 </code></pre></div></div>
 
 <blockquote>
@@ -784,6 +786,22 @@ Then you have to create a PR and submit it for review.</p>
 <div class="highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>svn move 
https://dist.apache.org/repos/dist/dev/bookkeeper/bookkeeper-${VERSION}-rc${RC_NUM}
 https://dist.apache.org/repos/dist/release/bookkeeper/bookkeeper-${VERSION}
 </code></pre></div></div>
 
+<h3 id="git-tag">Git tag</h3>
+
+<p>Create and push a new signed for the released version by copying the tag 
for the final release tag, as follows</p>
+
+<div class="language-shell highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code>git tag <span class="nt">-s</span> <span 
class="s2">"</span><span class="k">${</span><span class="nv">TAG</span><span 
class="k">}</span><span class="s2">"</span> <span class="s2">"</span><span 
class="k">${</span><span class="nv">RC_TAG</span><span class="k">}</span><span 
class="s2">"</span>
+git push apache <span class="s2">"</span><span class="k">${</span><span 
class="nv">TAG</span><span class="k">}</span><span class="s2">"</span>
+</code></pre></div></div>
+
+<p>Remove rc tags:</p>
+
+<div class="language-shell highlighter-rouge"><div class="highlight"><pre 
class="highlight"><code><span class="k">for </span>num <span 
class="k">in</span> <span class="k">$(</span><span class="nb">seq </span>0 
<span class="k">${</span><span class="nv">RC_NUM</span><span 
class="k">})</span><span class="p">;</span> <span class="k">do
+    </span>git tag <span class="nt">-d</span> <span class="s2">"v</span><span 
class="k">${</span><span class="nv">VERSION</span><span class="k">}</span><span 
class="s2">-rc</span><span class="k">${</span><span class="nv">num</span><span 
class="k">}</span><span class="s2">"</span>
+    git push apache :<span class="s2">"v</span><span class="k">${</span><span 
class="nv">VERSION</span><span class="k">}</span><span 
class="s2">-rc</span><span class="k">${</span><span class="nv">num</span><span 
class="k">}</span><span class="s2">"</span>
+<span class="k">done</span>
+</code></pre></div></div>
+
 <h3 id="update-website">Update Website</h3>
 
 <ol>

-- 
To stop receiving notification emails like this one, please contact
[email protected].

Reply via email to