Difference between revisions of "Developers:Preparing Release"

From OctopusWiki
Jump to navigation Jump to search
Line 1: Line 1:
 +
== Major releases ==
 +
 
For a new major release (''e.g.'' {{octopus_major_version}}.0):
 
For a new major release (''e.g.'' {{octopus_major_version}}.0):
 
* Create a release branch from {{file|develop}}. The branch should be named {{file|release-{{octopus_major_version}}.0}}.
 
* Create a release branch from {{file|develop}}. The branch should be named {{file|release-{{octopus_major_version}}.0}}.
Line 42: Line 44:
  
 
The Octopus development team
 
The Octopus development team
 +
 +
 +
== Minor releases ==
 +
 +
For a new minor release (''e.g.'' {{octopus_major_version}}.1):
 +
* Create a hotfix branch from {{file|master}}. The branch should be named {{file|hotfix-{{octopus_major_version}}.1}}.
 +
* Create a merge request on gitlab having the hotfix branch as source and the {{file|master}} branch as target.
 +
* Once all the bug fixes have been merged into the hotfix branch, update the version number in {{code|AC_INIT}} in {{file|configure.ac}}.
 +
* Update the {{file|PACKAGING}} file.
 +
* Update the {{file|debian/changelog}} file.
 +
* Merge the hotfix branch into {{file|master}}.
 +
* Add a new tag on [https://gitlab.com/octopus-code/octopus/tags/new Gitlab]:
 +
** Create the new tag from the {{file|master}} branch.
 +
** Tag should be named {{octopus_major_version}}.1.
 +
** The buildbot will automatically create from the tag a tarball (http://www.tddft.org/programs/octopus/down.php?file={{octopus_major_version}}.1/octopus-{{octopus_major_version}}.1.tar.gz), the variable documentation (http://octopus-code.org/doc/{{octopus_major_version}}.1/html/vars.php), and the doxygen documentation (http://octopus-code.org/doc/{{octopus_major_version}}.1/doxygen_doc/index.html).

Revision as of 14:25, 7 February 2020

Major releases

For a new major release (e.g. 10.0):

Sample email

To: octopus-users@tddft.org, octopus-announce@tddft.org

Subject: Octopus 10.0 released

Dear Octopus users,

We are pleased to announce that we have just released Octopus 10.0.

The source code, documentation and information for this new release can be obtained from:

http://octopus-code.org/wiki/Octopus_10

Best regards,

The Octopus development team


Minor releases

For a new minor release (e.g. 10.1):