From 08dfc3fa45e731c647967fb5157b63f3f73114d8 Mon Sep 17 00:00:00 2001 From: Stefan Feilmeier Date: Sun, 6 Nov 2022 23:10:52 +0100 Subject: [PATCH] Start development of 2020.12.0-SNAPSHOT --- .../src/io/openems/common/OpenemsConstants.java | 4 ++-- tools/prepare-next-snapshot.sh | 5 ----- ui/package.json | 2 +- ui/src/app/user/user.component.html | 4 ++-- 4 files changed, 5 insertions(+), 10 deletions(-) diff --git a/io.openems.common/src/io/openems/common/OpenemsConstants.java b/io.openems.common/src/io/openems/common/OpenemsConstants.java index 708f8ddb028..086d2c9cfb9 100644 --- a/io.openems.common/src/io/openems/common/OpenemsConstants.java +++ b/io.openems.common/src/io/openems/common/OpenemsConstants.java @@ -29,7 +29,7 @@ public class OpenemsConstants { *

* This is the month of the release. */ - public static final short VERSION_MINOR = 11; + public static final short VERSION_MINOR = 12; /** * The patch version of OpenEMS. @@ -43,7 +43,7 @@ public class OpenemsConstants { /** * The additional version string. */ - public static final String VERSION_STRING = ""; + public static final String VERSION_STRING = "SNAPSHOT"; /** * The complete version as a SemanticVersion. diff --git a/tools/prepare-next-snapshot.sh b/tools/prepare-next-snapshot.sh index c58cd68dc62..113a0626ea9 100644 --- a/tools/prepare-next-snapshot.sh +++ b/tools/prepare-next-snapshot.sh @@ -6,14 +6,12 @@ # Basic definitions openems_constants="io.openems.common/src/io/openems/common/OpenemsConstants.java" -single_document="doc/modules/ROOT/pages/single_document.adoc" package_json="ui/package.json" package_lock="ui/package-lock.json" user_component="ui/src/app/user/user.component.html" # Reset files git checkout $openems_constants -git checkout $single_document git checkout $package_json git checkout $package_lock git checkout $user_component @@ -31,9 +29,6 @@ echo "# Update $openems_constants" sed --in-place "s/\(VERSION_MINOR = \)\([0-9]\+\)\(.*\)/\1$new_minor\3/" $openems_constants sed --in-place 's/\(public .* VERSION_STRING = "\)\(".*$\)/\1SNAPSHOT\2/' $openems_constants -echo "# Update $single_document" -sed --in-place "s/\(^Version \).*$/\1$new_version/" $single_document - echo "# Update $package_json" sed --in-place "s/\(\"version\": \"\).*\(\".*$\)/\1$new_version\2/" $package_json diff --git a/ui/package.json b/ui/package.json index f75d92b526a..a87020706f0 100644 --- a/ui/package.json +++ b/ui/package.json @@ -1,6 +1,6 @@ { "name": "openems-ui", - "version": "2022.11.0", + "version": "2022.12.0-SNAPSHOT", "license": "AGPL-3.0", "private": true, "dependencies": { diff --git a/ui/src/app/user/user.component.html b/ui/src/app/user/user.component.html index dbeb0606319..047d67541c7 100644 --- a/ui/src/app/user/user.component.html +++ b/ui/src/app/user/user.component.html @@ -105,8 +105,8 @@

About.build