From f2bbe50c19b54b29e9459cad16eb3da83662db7b Mon Sep 17 00:00:00 2001 From: Harri Hirvonsalo Date: Tue, 8 Sep 2020 18:55:50 +0300 Subject: [PATCH] Update to version 2.1.5 Signed-off-by: Harri Hirvonsalo --- .../upgrades/upgrade_2_1_4_to_2_1_5.py | 38 +++++++++++++++++++ b2share/version.py | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 b2share/modules/upgrade/upgrades/upgrade_2_1_4_to_2_1_5.py diff --git a/b2share/modules/upgrade/upgrades/upgrade_2_1_4_to_2_1_5.py b/b2share/modules/upgrade/upgrades/upgrade_2_1_4_to_2_1_5.py new file mode 100644 index 0000000000..163c536140 --- /dev/null +++ b/b2share/modules/upgrade/upgrades/upgrade_2_1_4_to_2_1_5.py @@ -0,0 +1,38 @@ +# -*- coding: utf-8 -*- +# +# This file is part of EUDAT B2Share. +# Copyright (C) 2018 CERN. +# +# B2Share is free software; you can redistribute it and/or +# modify it under the terms of the GNU General Public License as +# published by the Free Software Foundation; either version 2 of the +# License, or (at your option) any later version. +# +# B2Share is distributed in the hope that it will be useful, but +# WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with B2Share; if not, write to the Free Software Foundation, Inc., +# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. +# +# In applying this license, CERN does not +# waive the privileges and immunities granted to it by virtue of its status +# as an Intergovernmental Organization or submit itself to any jurisdiction. + +"""Upgrade recipe migrating B2SHARE from version 2.1.4 to 2.1.5.""" + + +from __future__ import absolute_import, print_function + +import pkg_resources + +from ..api import UpgradeRecipe + + +migrate_2_1_3_to_2_1_4 = UpgradeRecipe('2.1.4', '2.1.5') + +# No changes to Elasticsearch mappings + +# There are no changes to the db schema, so no other updates are necessary diff --git a/b2share/version.py b/b2share/version.py index 4bf5c12641..7e760e8451 100644 --- a/b2share/version.py +++ b/b2share/version.py @@ -21,4 +21,4 @@ """Version number.""" -__version__ = "2.1.5-rc1" +__version__ = "2.1.5"