Making a Release: Difference between revisions

From Commontk
Jump to navigationJump to search
(Created page with "A core developer should use the following steps to create a release <tt>YYYY-MM-DD</tt> of CTK <ol> <li>Make sure that all CI tests are passing</li> <li> <p>Downloa...")
 
No edit summary
Line 22: Line 22:
   <li>
   <li>
     <p>Choose the next release version number</p>
     <p>Choose the next release version number</p>
     <pre>$ release=YYYY-MM--DDD</pre>
     <pre>$ release=YYYY-MM-DD</pre>
   </li>
   </li>
    
    

Revision as of 05:58, 29 October 2018

Home < Making a Release

A core developer should use the following steps to create a release YYYY-MM-DD of CTK

  1. Make sure that all CI tests are passing
  2. Download the source

    cd /tmp && \
    git clone git@github.com:commontk/CTK && \
    cd CTK
    
  3. List all tags sorted by version

    $ git fetch --tags && \
    git tag -l | sort -V
    
  4. Choose the next release version number

    $ release=YYYY-MM-DD
  5. Tag the release

    git tag --sign -m "CTK ${release}" ${release} master

    We recommend using a GPG signing key to sign the tag.

  6. Publish the release tag

    git push origin ${release}