LCATR Releases

Table of Contents

1 Overview

Releases of the LCATR software itself (harness, schema, modulefiles) are made as described in this document.

2 Release Steps

The major parts of making a release are:

3 Versions

3.1 Releases

Released versions are labeled like of the form of a two part number: X.Y.

3.2 Release candidates

Release candidates are labeled like X.Y-rcZ and are considered at a lower version than the eventual X.Y release. The Z counts up starting at 0.

Tagged release candidates tag the initial commit of that line of development. Any packages carrying a release candidate variable may correspond to any development starting at this tag and continuing up to but not including the next release candidate or full release tag.

3.3 Development

After a full release (X.Y) has been made the Y number is incremented (unless a major release was just made) and Z is set to 0.

4 Release management

The script lcatr-release is used to manage releases.

$ ./scripts/lcatr-release release <version>

Or, in steps:

$ ./scripts/lcatr-release get_version
$ ./scripts/lcatr-release bump_version 0.2rc-6
$ ./scripts/lcatr-release commit_and_tag
$ ./scripts/lcatr-release push
$ ./scripts/lcatr-release sdist

4.1 Example:

Release

$ ./scripts/lcatr-release release 0.3

Start work towards next release

$ ./scripts/lcatr-release bump_version 0.4-rc0
# 10:
$ emacs *.py                      # develop
$ git commit -a -m "..."
$ ./scripts/lcatr-release push
$ ./scripts/lcatr-release sdist   # optional/periodic
# Goto 10 until happy
$ ./scripts/lcatr-release release 0.4-rc0

Author: Brett Viren <bv@bnl.gov>

Date: 2014-10-03 11:47:36 PDT

HTML generated by org-mode 6.21b in emacs 23