Skip to content

Commit

Permalink
Merge tag '2022.11.0' into develop
Browse files Browse the repository at this point in the history
2022.11.0
  • Loading branch information
sfeilmeier committed Nov 6, 2022
2 parents 56c9bb0 + 9e401a5 commit 8fca75f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public class OpenemsConstants {
/**
* The additional version string.
*/
public static final String VERSION_STRING = "SNAPSHOT";
public static final String VERSION_STRING = "";

/**
* The complete version as a SemanticVersion.
Expand Down
5 changes: 0 additions & 5 deletions tools/prepare-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@
# Basic definitions
release_date=$(date --iso-8601)
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
Expand All @@ -30,9 +28,6 @@ echo "# date: $release_date"
echo "# Update $openems_constants"
sed --in-place 's/\(public .* VERSION_STRING = "\)SNAPSHOT\(".*$\)/\1\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

Expand Down
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "openems-ui",
"version": "2022.11.0-SNAPSHOT",
"version": "2022.11.0",
"license": "AGPL-3.0",
"private": true,
"dependencies": {
Expand Down
4 changes: 2 additions & 2 deletions ui/src/app/user/user.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@
<p class="ion-padding" translate>About.build</p>
<ul>
<li>
<a target="_blank" href="https://github.com/OpenEMS/openems/tree/develop">
<span translate>About.build</span>: 2022.11.0-SNAPSHOT</a>
<a target="_blank" href="https://github.com/OpenEMS/openems/releases/tag/2022.11.0">
<span translate>About.build</span>: 2022.11.0 (2022-11-06)</a>
</li>
</ul>
<p class="ion-padding">
Expand Down

0 comments on commit 8fca75f

Please sign in to comment.