Release Checklist: Difference between revisions

Centralize version information.
(→‎Create new release candidate: Add libtool versioning)
(Centralize version information.)
Line 69: Line 69:


=== Create new release candidate ===
=== Create new release candidate ===
* Update {{Path|configure.ac}}:
* Ensure correct [[#Versioning hints|version information]].
** <code>AC_INIT</code>
** <code>OCTAVE_API_VERSION</code>
** <code>OCTAVE_MAJOR/MINOR/PATCH_VERSION</code>
** <code>OCTAVE_RELEASE_DATE</code>
* Update libtool versioning:
** {{Path|liboctave/module.mk}} <code>%canon_reldir%_%canon_reldir%_current</code>
** {{Path|libinterp/module.mk}} <code>%canon_reldir%_liboctinterp_current</code>
** {{Path|libgui/module.mk}} <code>%canon_reldir%_liboctgui_current</code>
* Verify <code>make distcheck</code> passes.
* Verify <code>make distcheck</code> passes.
* Verify <code>make dist</code> works.
* Verify <code>make dist</code> works.
Line 90: Line 82:
=== Update version information ===
=== Update version information ===
:Completion Date:
:Completion Date:
* Update {{Path|configure.ac}}:
* Ensure correct [[#Versioning hints|version information]].
** <code>AC_INIT</code>
** <code>OCTAVE_API_VERSION</code>
** <code>OCTAVE_MAJOR/MINOR/PATCH_VERSION</code>
** <code>OCTAVE_RELEASE_DATE</code>
* Update {{Path|NEWS}} (final release date).
* Update {{Path|NEWS}} (final release date).
* Update {{Path|CITATION}} (version, year, URL).
* Update {{Path|CITATION}} (version, year, URL).
Line 117: Line 105:
* Move {{Path|NEWS}} file to backup in {{Path|etc/NEWS.X}}.
* Move {{Path|NEWS}} file to backup in {{Path|etc/NEWS.X}}.
* Create new {{Path|NEWS}} file.
* Create new {{Path|NEWS}} file.
== Versioning hints ==
* See [https://hg.savannah.gnu.org/hgweb/octave/file/tip/etc/HACKING.md <code>etc/HACKING.md</code>]!!
* Update {{Path|configure.ac}}:
** <code>AC_INIT</code>
** <code>OCTAVE_API_VERSION</code>
** <code>OCTAVE_MAJOR/MINOR/PATCH_VERSION</code>
** <code>OCTAVE_RELEASE_DATE</code>
* Update libtool versioning:
** {{Path|liboctave/module.mk}} <code>%canon_reldir%_%canon_reldir%_current</code>
** {{Path|libinterp/module.mk}} <code>%canon_reldir%_liboctinterp_current</code>
** {{Path|libgui/module.mk}} <code>%canon_reldir%_liboctgui_current</code>


[[Category:Releases]]
[[Category:Releases]]