diff --git a/.github/workflows/release-action.yaml b/.github/workflows/release-action.yaml index 44f326739..8cbaa5f4f 100644 --- a/.github/workflows/release-action.yaml +++ b/.github/workflows/release-action.yaml @@ -2,9 +2,8 @@ name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI on: workflow_dispatch: - pull_request: - branches: - - main + release: + types: [published, prereleased] jobs: build: @@ -34,7 +33,9 @@ jobs: publish-to-pypi: name: >- Publish Python 🐍 distribution 📦 to PyPI - if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes + if: > + startsWith(github.ref, 'refs/tags/') && + !contains(github.ref, 'rc') needs: - build runs-on: ubuntu-latest diff --git a/CHANGELOG.md b/CHANGELOG.md index cd9d7180c..3269d5696 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ ## Features +## Bug Fixes + +# [v23.12](https://github.com/pybop-team/PyBOP/tree/v23.12) - 2023-12-19 +## Features + - [#141](https://github.com/pybop-team/PyBOP/pull/141) - Adds documentation with Sphinx and PyData Sphinx Theme. Updates docstrings across package, relocates `costs` and `dataset` to top-level of package. Adds noxfile session and deployment workflow for docs. - [#131](https://github.com/pybop-team/PyBOP/issues/131) - Adds `SciPyDifferentialEvolution` optimiser, adds functionality for user-selectable maximum iteration limit to `SciPyMinimize`, `NLoptOptimize`, and `BaseOptimiser` classes. - [#107](https://github.com/pybop-team/PyBOP/issues/107) - Adds Equivalent Circuit Model (ECM) with examples, Import/Export parameter methods `ParameterSet.import_parameter` and `ParameterSet.export_parameters`, updates default FittingProblem.signal definition to `"Voltage [V]"`, and testing infrastructure diff --git a/CITATION.cff b/CITATION.cff index e1efab891..11ce822fd 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -11,4 +11,5 @@ authors: family-names: Courtier - given-names: David family-names: Howey +version: "23.12" # Update this when you release a new version repository-code: 'https://www.github.com/pybop-team/pybop' diff --git a/pybop/version.py b/pybop/version.py index 915a9aedb..f3d58cf85 100644 --- a/pybop/version.py +++ b/pybop/version.py @@ -1 +1 @@ -__version__ = "23.11" +__version__ = "23.12"