You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sirona.apache.org by ol...@apache.org on 2013/11/26 02:29:10 UTC

svn commit: r1545499 - /incubator/sirona/site/involved/releasing.html

Author: olamy
Date: Tue Nov 26 01:29:09 2013
New Revision: 1545499

URL: http://svn.apache.org/r1545499
Log:
Site checkin for project Apache Sirona Incubator

Modified:
    incubator/sirona/site/involved/releasing.html

Modified: incubator/sirona/site/involved/releasing.html
URL: http://svn.apache.org/viewvc/incubator/sirona/site/involved/releasing.html?rev=1545499&r1=1545498&r2=1545499&view=diff
==============================================================================
--- incubator/sirona/site/involved/releasing.html (original)
+++ incubator/sirona/site/involved/releasing.html Tue Nov 26 01:29:09 2013
@@ -244,7 +244,126 @@ KIND, either express or implied.  See th
 specific language governing permissions and limitations
 under the License. --><div class="section">
 <h2>Releasing Apache Sirona<a name="Releasing_Apache_Sirona"></a></h2>
-<p>TODO</p></div>
+
+<ol style="list-style-type: decimal">
+  
+<li>
+<p>Post to the dev list a few days before you plan to do an Sirona release</p></li>
+  
+<li>
+<p>Your maven setting must contains the entry to be able to deploy.</p>
+  
+<div class="source">
+<pre>~/.m2/settings.xml
+
+   &lt;server&gt;
+     &lt;id&gt;apache.releases.https&lt;/id&gt;
+     &lt;username&gt;&lt;/username&gt;
+     &lt;password&gt;&lt;/password&gt;
+   &lt;/server&gt;
+</pre></div></li>
+  
+<li>
+<p>Release Sirona</p>
+<p>You should have a GPG agent running in the session you will run the maven release commands(preferred), and confirm it works by running &#x201c;gpg -ab&#x201d; (type some text and press Ctrl-D). If you do not have a GPG agent running, make sure that you have the &#x201c;apache-release&#x201d; profile set in your settings.xml as shown below.</p>
+<p>GPG configuration in maven settings xml:</p>
+  
+<div class="source">
+<pre>&lt;profile&gt;
+  &lt;id&gt;apache-release&lt;/id&gt;
+  &lt;properties&gt;
+    &lt;gpg.passphrase&gt;[GPG_PASSWORD]&lt;/gpg.passphrase&gt;
+  &lt;/properties&gt;
+&lt;/profile&gt;
+</pre></div>
+<p>Run the release</p>
+  
+<div class="source">
+<pre>mvn release:prepare release:perform
+</pre></div></li>
+  
+<li>
+<p>go to <a class="externalLink" href="https://repository.apache.org">https://repository.apache.org</a> and close your staged repository. Log in, click on Staging Repositories, check your repository, and click Close. Note the repository url (format <a class="externalLink" href="https://repository.apache.org/content/repositories/orgapachesirona-019/org/apache/sirona/sirona/0.1-incubating/">https://repository.apache.org/content/repositories/orgapachesirona-019/org/apache/sirona/sirona/0.1-incubating/</a>)</p></li>
+  
+<li>
+<p>Stage the release (stagingRepoUrl format <a class="externalLink" href="https://repository.apache.org/content/repositories/orgapachesirona-019/org/apache/sirona/sirona/0.6-incubating/">https://repository.apache.org/content/repositories/orgapachesirona-019/org/apache/sirona/sirona/0.6-incubating/</a>)</p>
+  
+<div class="source">
+<pre>svn co https://dist.apache.org/repos/dist/dev/incubator/sirona sirona-dev-release
+cd sirona-dev-release
+sh ./release-script-svn.sh version stagingRepoUrl
+svn add &lt;new directory created with new version as name&gt;
+gpg -k email@domain.com &gt;&gt; KEYS
+gpg --armor --export email@domain.com &gt;&gt; KEYS
+svn ci
+</pre></div></li>
+  
+<li>
+<p>Validating the release</p></li>
+</ol>
+
+<ul>
+  
+<li>Download sources, extract, build and run tests - mvn clean package</li>
+  
+<li>Verify license headers - mvn -Prat -DskipTests</li>
+  
+<li>Download binaries and .asc files</li>
+  
+<li>Download release manager&#x2019;s public key - From the KEYS file, get the release manager&#x2019;s public key finger print and run gpg &#x2013;keyserver pgpkeys.mit.edu &#x2013;recv-key &lt;key&gt;</li>
+  
+<li>Validate authenticity of key - run gpg &#x2013;fingerprint &lt;key&gt;</li>
+  
+<li>Check signatures of all the binaries using gpg &lt;binary&gt;</li>
+</ul>
+
+<ol style="list-style-type: decimal">
+  
+<li>
+<p>Call for a vote in the dev list and wait for 72 hrs. for the vote results. 3 binding votes are necessary for the release to be finalized. example  After the vote has passed, move the files from dist dev to dist release: svn mv <a class="externalLink" href="https://dist.apache.org/repos/dist/dev/incubator/sirona/version">https://dist.apache.org/repos/dist/dev/incubator/sirona/version</a> to <a class="externalLink" href="https://dist.apache.org/repos/dist/release/incubator/sirona/">https://dist.apache.org/repos/dist/release/incubator/sirona/</a></p>
+  
+<div class="source">
+<pre>Hi,
+
+I'd like to release Apache Sirona [VERSION]-incubating.
+
+Release notes: http://sirona.incubator.apache.org/releasenotes/release-[VERSION]-incubating.html
+
+Maven staged release repository: https://repository.apache.org/content/repositories/orgapachesirona-[NNN]/
+
+Distribution:
+* binaries: https://dist.apache.org/repos/dist/dev/incubator/sirona/[VERSION]-incubating/binaries/
+* sources: https://dist.apache.org/repos/dist/dev/incubator/sirona/[VERSION]-incubating/src/
+
+KEYS file available here: https://dist.apache.org/repos/dist/release/incubator/sirona/KEYS
+
+Vote open for 72H
+
+[+1]
+[0]
+[-1]
+</pre></div></li>
+  
+<li>
+<p>Prepare release note. Add a page in src/site/apt/releasenotes/ and change value of &lt;currentRelease&gt; in parent pom.</p></li>
+  
+<li>
+<p>Send out an announcement of the release to:</p></li>
+</ol>
+
+<ul>
+  
+<li>
+<p><a class="externalLink" href="mailto:user@sirona.incubator.apache.org">user@sirona.incubator.apache.org</a></p></li>
+  
+<li>
+<p><a class="externalLink" href="mailto:dev@sirona.incubator.apache.org">dev@sirona.incubator.apache.org</a></p></li>
+</ul>
+
+<ol style="list-style-type: decimal">
+  
+<li>Celebrate!</li>
+</ol></div>
                   </div>
           </div>