Skip to content
Camille Maumet edited this page Jul 18, 2018 · 26 revisions

Welcome to the SnPM-devel wiki!

How to create a new release

  1. Create a new branch called new_release out of master
  2. Merge in all the unmerged updates that will be part of the release using git merge BRANCH_NAME where BRANCH_NAME is replaced by the name of the branch to be added to that release.
  • Create a pull request from the new_release branch and document all the changes as an itemized list in the top comment. Note: the list of commits between the new_release branch and a given tag can be obtained with git log --pretty=oneline new_release...SnPMxx.x.x where SnPMxx.x.x must be replaced by the actual tag name. Please use one of the following prefixes for each item:
    • fix: for updates that fix an error and
    • enh: for other enhancements,
    • dev: for fixes that only impact the GitHub repository and the development process (e.g. pull request templates).
  1. Run the tests as specified in doc: Non-regression testing and copy the test report in a comment in the pull request.
  2. If any test fails, update the code and iterate 3-4 until all tests pass.
  3. Increment SnPM version number in line 52 of snpm.m and add/commit/push this update.
  4. Change the title of the pull request into Release SnPM X.X.X where X.X.X if the number of the version to be released.
  5. Merge the pull request into master.
Clone this wiki locally