Making a Release

From Commontk
Revision as of 05:58, 29 October 2018 by JChris.FillionR (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
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--DDD
  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}