Skip to content

Commit

Permalink
Merge tag '2024.1.0' into develop
Browse files Browse the repository at this point in the history
2024.1.0
  • Loading branch information
sfeilmeier committed Jan 1, 2024
2 parents 6ad51e4 + 29e0231 commit 5488bf2
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 9 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ name: Build OpenEMS
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches:
- main
- develop

jobs:
build-java:
Expand Down
17 changes: 13 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,17 @@ jobs:

- uses: kiancross/checkstyle-annotations-action@v1

- name: Validate BackendApp.bndrun and EdgeApp.bndrun
run: git diff --exit-code io.openems.backend.application/BackendApp.bndrun io.openems.edge.application/EdgeApp.bndrun
- name: Build all Java packages
run: ./gradlew build

- name: Clean Edge+Backend assets
run: ./gradlew cleanEdge cleanBackend
- name: Resolve OpenEMS bundles
run: ./gradlew resolve

- name: Validate BackendApp.bndrun
run: git diff --exit-code io.openems.backend.application/BackendApp.bndrun

- name: Validate EdgeApp.bndrun
run: git diff --exit-code io.openems.edge.application/EdgeApp.bndrun

- name: Prepare Edge+Backend assets
run: ./gradlew buildEdge buildBackend
Expand Down Expand Up @@ -63,6 +69,9 @@ jobs:
npm ci --prefer-offline --cache ~/.npm
node_modules/.bin/ng config cli.cache.path "~/.ng"
node_modules/.bin/ng build -c "openems,openems-edge-prod,prod"
node_modules/.bin/ng lint
export CHROME_BIN=/usr/bin/google-chrome-stable
npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
- name: Prepare UI asset
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,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
4 changes: 2 additions & 2 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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": "2024.1.0-SNAPSHOT",
"version": "2024.1.0",
"license": "AGPL-3.0",
"private": true,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/changelog/view/component/changelog.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Role } from "src/app/shared/type/role";

export class Changelog {

public static readonly UI_VERSION = "2024.1.0-SNAPSHOT";
public static readonly UI_VERSION = "2024.1.0";

public static product(...products: Product[]) {
return products.map(product => Changelog.link(product.name, product.url)).join(", ") + '. ';
Expand Down

0 comments on commit 5488bf2

Please sign in to comment.