diff --git a/.github/release_reminder.md b/.github/release_reminder.md deleted file mode 100644 index 09c524fbec..0000000000 --- a/.github/release_reminder.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: Create {{ date | date('YY.MM') }} (final or rc0) release -labels: "priority: high" ---- -Quarterly reminder to create a - - -1. pre-release if the month has just started. -2. non-pre-release if the month is about to end (**before the end of the month**). - -See [Release Workflow](https://github.com/pybamm-team/PyBaMM/blob/develop/.github/release_workflow.md) for more information. diff --git a/.github/workflows/release_reminder.yml b/.github/workflows/release_reminder.yml deleted file mode 100644 index f838c8d57a..0000000000 --- a/.github/workflows/release_reminder.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Create a release reminder - -on: - schedule: - # Run at 10 am UTC on days-of-month 1 and 28 in January, May, and September. - - cron: "0 10 1,28 1,5,9 *" - -permissions: - contents: read - issues: write - -jobs: - remind: - if: github.repository_owner == 'pybamm-team' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: JasonEtco/create-an-issue@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - filename: .github/release_reminder.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a92f9a621..0962bdbe23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # [Unreleased](https://github.com/pybamm-team/PyBaMM/) +# [v24.9.0](https://github.com/pybamm-team/PyBaMM/tree/v24.9.0) - 2024-09-03 + ## Features - Added a lithium ion equivalent circuit model with split open circuit voltages for each electrode. ([#4330](https://github.com/pybamm-team/PyBaMM/pull/4330)) diff --git a/CITATION.cff b/CITATION.cff index cc2479e8f3..d128cf485e 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -24,6 +24,6 @@ keywords: - "expression tree" - "python" - "symbolic differentiation" -version: "24.5" +version: "24.9.0" repository-code: "https://github.com/pybamm-team/PyBaMM" title: "Python Battery Mathematical Modelling (PyBaMM)" diff --git a/pyproject.toml b/pyproject.toml index 34ccd05e20..7fb1a5ce95 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ build-backend = "setuptools.build_meta" [project] name = "pybamm" -version = "24.5" +version = "24.9.0" license = { file = "LICENSE.txt" } description = "Python Battery Mathematical Modelling" authors = [{name = "The PyBaMM Team", email = "pybamm@pybamm.org"}] diff --git a/scripts/update_version.py b/scripts/update_version.py index 3543f0b07b..a8fd884537 100644 --- a/scripts/update_version.py +++ b/scripts/update_version.py @@ -6,9 +6,6 @@ import os import re from datetime import date -from dateutil.relativedelta import relativedelta - - import pybamm @@ -17,11 +14,7 @@ def update_version(): Opens file and updates the version number """ release_version = os.getenv("VERSION")[1:] - release_date = ( - date.today() - if "rc" in release_version - else date.today() + relativedelta(day=31) - ) + release_date = date.today() # pybamm/version.py with open( @@ -84,15 +77,7 @@ def update_version(): with open(os.path.join(pybamm.root_dir(), "CHANGELOG.md"), "r+") as file: output_list = file.readlines() output_list[0] = changelog_line1 - # add a new heading for rc0 releases - if "rc0" in release_version: - output_list.insert(2, changelog_line2) - else: - # for rcX and final releases, update the already existing rc - # release heading - for i in range(0, len(output_list)): - if re.search("[v]\d\d\.\drc\d", output_list[i]): - output_list[i] = changelog_line2[:-1] + output_list.insert(2, changelog_line2) file.truncate(0) file.seek(0) file.writelines(output_list) diff --git a/src/pybamm/version.py b/src/pybamm/version.py index edeca1094b..ca0cfd956e 100644 --- a/src/pybamm/version.py +++ b/src/pybamm/version.py @@ -1 +1 @@ -__version__ = "24.5" +__version__ = "24.9.0" diff --git a/vcpkg.json b/vcpkg.json index a4ae73f302..6c50d65524 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,6 +1,6 @@ { "name": "pybamm", - "version-string": "24.5", + "version-string": "24.9.0", "dependencies": [ "casadi", {