diff --git a/patches/patch20201124-4.0.0-rc2/patch.sh b/patches/patch20201124-4.0.0-rc2/patch.sh index d833ec352f8a4e91b3d29b7df79c8981e78e7c16..5dab9326328a7e7c4d0eef88776438b0f9760fb7 100755 --- a/patches/patch20201124-4.0.0-rc2/patch.sh +++ b/patches/patch20201124-4.0.0-rc2/patch.sh @@ -24,7 +24,7 @@ # ** end header # # Update mysql schema to version v4.0.0-rc1 -NEW_VERSION="v4.0.0" +NEW_VERSION="v4.0.0-rc2" OLD_VERSION="v4.0.0-rc1" if [ -z "$UTILSPATH" ]; then diff --git a/patches/patch20210211-4.0.0/patch.sh b/patches/patch20210211-4.0.0/patch.sh new file mode 100755 index 0000000000000000000000000000000000000000..4f615250edea916c62c32378250233d5b5670022 --- /dev/null +++ b/patches/patch20210211-4.0.0/patch.sh @@ -0,0 +1,43 @@ +#!/bin/bash +# +# ** header v3.0 +# This file is a part of the CaosDB Project. +# +# Copyright (C) 2018 Research Group Biomedical Physics, +# Max-Planck-Institute for Dynamics and Self-Organization Göttingen +# Copyright (C) 2020-2021 IndiScale GmbH <info@indiscale.com> +# Copyright (C) 2020-2021 Timm Fitschen <t.fitschen@indiscale.com> +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as +# published by the Free Software Foundation, either version 3 of the +# License, or (at your option) any later version. +# +# This program 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see <https://www.gnu.org/licenses/>. +# +# ** end header +# +# Update mysql schema to version v4.0.0-rc1 +NEW_VERSION="v4.0.0" +OLD_VERSION="v4.0.0-rc2" + +if [ -z "$UTILSPATH" ]; then + UTILSPATH="../utils" +fi + +. $UTILSPATH/patch_header.sh $* + +check_version $OLD_VERSION + +# nothing to do, just version update + +update_version $NEW_VERSION + +success +