From 665877c38341b8d248e6ebce2ce4fb3dc24ede11 Mon Sep 17 00:00:00 2001 From: Ferran Brosa Planella Date: Mon, 29 Nov 2021 14:13:33 +0000 Subject: [PATCH 1/2] update version number to 21.11 --- CITATION.cff | 2 +- docs/conf.py | 4 ++-- pybamm/version | 2 +- vcpkg.json | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index cb1833fe58..c49d5c4d7a 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -24,6 +24,6 @@ keywords: - "expression tree" - "python" - "symbolic differentiation" -version: "21.10" +version: "21.11" repository-code: "https://github.com/pybamm-team/PyBaMM" title: "Python Battery Mathematical Modelling (PyBaMM)" diff --git a/docs/conf.py b/docs/conf.py index 42284e4578..18120c3482 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,9 +26,9 @@ author = "The PyBaMM Team" # The short X.Y version -version = "21.10" +version = "21.11" # The full version, including alpha/beta/rc tags -release = "21.10" +release = "21.11" # -- General configuration --------------------------------------------------- diff --git a/pybamm/version b/pybamm/version index cfae36e441..61af3368d3 100644 --- a/pybamm/version +++ b/pybamm/version @@ -1 +1 @@ -21, 10 +21, 11 diff --git a/vcpkg.json b/vcpkg.json index bd8066d8c0..32450eccb4 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,6 +1,6 @@ { "name": "pybamm", - "version-string": "21.10", + "version-string": "21.11", "dependencies": [ { "name": "sundials", From 4022d0f6061208cdf0397bcd0c5a5c3a63412fff Mon Sep 17 00:00:00 2001 From: Priyanshu Agarwal Date: Mon, 29 Nov 2021 22:05:40 +0530 Subject: [PATCH 2/2] Update build_sdist.yml --- .github/workflows/build_sdist.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_sdist.yml b/.github/workflows/build_sdist.yml index 0a4a8d0404..dd4db3706c 100644 --- a/.github/workflows/build_sdist.yml +++ b/.github/workflows/build_sdist.yml @@ -65,7 +65,8 @@ jobs: - name: Publish sdist on PyPI if: | github.event.inputs.target == 'pypi' || - (github.event_name == 'push' && github.ref == 'refs/heads/main') + (github.event_name == 'push' && github.ref == 'refs/heads/main') || + ${{ github.event.workflow_run.conclusion == 'success' }} uses: pypa/gh-action-pypi-publish@master with: user: __token__