From 9915ba38c9365f8b0738269b8c2ac1fdd5f8dee3 Mon Sep 17 00:00:00 2001 From: Marten van Kerkwijk Date: Fri, 13 Oct 2023 09:13:03 -0400 Subject: [PATCH] Also update configure.ac for 2.0.1 And update the release instructions so this does not get forgotten again! --- RELEASE.rst | 25 +++++++++++++------------ configure.ac | 6 +++--- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/RELEASE.rst b/RELEASE.rst index d609144..e7701b0 100644 --- a/RELEASE.rst +++ b/RELEASE.rst @@ -28,8 +28,8 @@ places no contraints on who has permissions to submit code changes. overwriting *intentional* changes between SOFA and ERFA (the README from the previous version is generally your friend here.) -* Update the ``SOFA_VERSION`` define in ``meson.build`` to reflect the new SOFA - version. +* Update the ``SOFA_VERSION`` define in both `meson.build` and `configure.ac` + to reflect the new SOFA version. * Update the SOFA version mentioned in `README.rst` to reflect what's now in, as well as any relevant changes in the "Differences from SOFA" section or any @@ -55,18 +55,19 @@ Releasing ERFA These steps should be done by a maintainer, as they require specific Github permissions. -* Update the version number in the `project()` version field of `meson.build` to - the version number you are about to release, and also Follow the instructions - in the `Version numbering` "Package version number" section below. +* Update the version number in the ``project()`` version field of `meson.build` + as well as ``AC_INIT`` in `configure.ac` to the version number you are about + to release. Follow the instructions in the `Version numbering` + "Package version number" section below. -* Update the version info of the shared library in the `libtool_version` - variable of `meson.build`. Follow the instructions in `Version numbering` +* Update the version info of the shared library in the ``libtool_version`` + variable of `meson.build` and ``ERFA_LIB_VERSION_INFO`` in `configure.ac`. + Follow the instructions in `Version numbering` "Shared library version info" section below. -* Update the `README.rst` to reference the version you filled in above for - `configure.ac` (it may be ``x.y.z`` if a maintainer followed the processes - described above). Ensure the list of changes is accurate for this new - version. +* Update the `README.rst` to reference the version you filled in above + (it may be ``x.y.z`` if a maintainer followed the processes described above). + Ensure the list of changes is accurate for this new version. * Commit these changes using ``git commit``, with a commit message like ``Preparing release v0.0.1``. @@ -74,7 +75,7 @@ permissions. * Run ``meson setup builddir``: you need `meson` installed. If no errors appear, this will create a `build.ninja` file in the build directory, as well as a `config.h`. - To avoid possible trouble, check that in the latter, `PACKAGE_VERSION` + To avoid possible trouble, check that in the latter, ``PACKAGE_VERSION`` is set correctly. * Run ``meson test -C builddir``, which will build the library and run the tests - diff --git a/configure.ac b/configure.ac index 956ca78..a3dc59b 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ AC_PREREQ([2.68]) ## Follow the instructions in RELEASE.rst to change package version -AC_INIT([erfa],[2.0.0]) +AC_INIT([erfa],[2.0.1]) AC_CONFIG_SRCDIR([src/erfa.h]) AC_CONFIG_HEADER([config.h]) AC_CONFIG_MACRO_DIR([m4]) @@ -17,10 +17,10 @@ ERFA_NUMVER ## A library supports interfaces from current downto current - age ## Revision is the version of the current interface ## Follow the instructions in RELEASE.rst to change the version info -ERFA_LIB_VERSION_INFO(9, 0, 8) +ERFA_LIB_VERSION_INFO(9, 1, 8) ## SOFA version, update if needed in new relases -AC_DEFINE([SOFA_VERSION], ["20210512"], [Define to the version of SOFA]) +AC_DEFINE([SOFA_VERSION], ["20231011"], [Define to the version of SOFA]) # Checks for libraries. AC_SEARCH_LIBS([sin], [m], , AC_MSG_ERROR([cannot find math functions]))