Difference between revisions of "Developers:Preparing Release"

From OctopusWiki
Jump to navigation Jump to search
Line 44: Line 44:
  
 
The Octopus development team
 
The Octopus development team
 
  
 
== Minor releases ==
 
== Minor releases ==
Line 59: Line 58:
 
** Tag should be named {{octopus_major_version}}.1.
 
** 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).
 
** 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).
 +
* Create a new merge request on gitlab having the hotfix branch as source and the {{file|develop}} branch as target.
 +
* Merge the hotfix branch into {{file|develop}}. There should be a conflict in the {{file|configure.ac}} file, because of the changed version number. Keep the one coming from {{file|develop}}. Other conflicts might occur.
 +
* Update the [[Template:Octopus_minor_version]] wiki templates.
 +
* Add the release to the wiki at the corresponding page, ''e.g.'' [[Octopus {{octopus_major_version}}]]
 +
* Update the [[Changes]] wiki page, referring to [[Developers:Changes]].
 +
* Update the wiki [[Main_Page]], so it shows this latest release.
 +
* Add the release to News on the [[Main_Page]].

Revision as of 14:32, 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):

  • Create a hotfix branch from master. The branch should be named hotfix-10.1.
  • Create a merge request on gitlab having the hotfix branch as source and the master branch as target.
  • Once all the bug fixes have been merged into the hotfix branch, update the version number in AC_INIT in configure.ac.
  • Update the PACKAGING file.
  • Update the debian/changelog file.
  • Merge the hotfix branch into master.
  • Add a new tag on Gitlab:
  • Create a new merge request on gitlab having the hotfix branch as source and the develop branch as target.
  • Merge the hotfix branch into develop. There should be a conflict in the configure.ac file, because of the changed version number. Keep the one coming from develop. Other conflicts might occur.
  • Update the Template:Octopus_minor_version wiki templates.
  • Add the release to the wiki at the corresponding page, e.g. Octopus 10
  • Update the Changes wiki page, referring to Developers:Changes.
  • Update the wiki Main_Page, so it shows this latest release.
  • Add the release to News on the Main_Page.