Skip to content

Commit

Permalink
made release v6.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sergmain committed Feb 11, 2024
1 parent c0d81c0 commit 0b0ceb2
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 26 deletions.
2 changes: 1 addition & 1 deletion apps/commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</parent>
<groupId>ai.metaheuristic</groupId>
<artifactId>mh-commons</artifactId>
<version>6.1.2-SNAPSHOT</version>
<version>6.1.2</version>

<packaging>jar</packaging>

Expand Down
4 changes: 2 additions & 2 deletions apps/metaheuristic/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<groupId>ai.metaheuristic</groupId>
<artifactId>srv</artifactId>
<version>6.1.2-SNAPSHOT</version>
<version>6.1.2</version>
<packaging>jar</packaging>

<name>ai.metaheuristic.srv</name>
Expand All @@ -46,7 +46,7 @@
<dependency>
<groupId>ai.metaheuristic</groupId>
<artifactId>mh-commons</artifactId>
<version>6.1.2-SNAPSHOT</version>
<version>6.1.2</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import ai.metaheuristic.ai.functions.FunctionRepositoryDispatcherService;
import ai.metaheuristic.ai.functions.FunctionRepositoryProcessorService;
import ai.metaheuristic.ai.processor.*;
import ai.metaheuristic.ai.functions.DownloadFunctionService;
import ai.metaheuristic.ai.processor.actors.DownloadVariableService;
import ai.metaheuristic.ai.processor.actors.GetDispatcherContextInfoService;
import ai.metaheuristic.ai.processor.actors.UploadVariableService;
Expand Down Expand Up @@ -65,18 +64,6 @@

public class Schedulers {

// @Service
// @EnableScheduling
// @Slf4j
// @RequiredArgsConstructor(onConstructor_={@Autowired})
// public static class WebsocketScheduler {
//
// @Scheduled(initialDelay = 1_000, fixedDelay = 20_000)
// public static void client() {
// ChatClient.client();
// }
// }

private static Instant getInstant(TriggerContext context, Duration duration) {
return Optional.ofNullable(context.lastCompletion()).orElseGet(Instant::now).plus(duration);
}
Expand Down
2 changes: 1 addition & 1 deletion apps/package-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<dependency>
<groupId>ai.metaheuristic</groupId>
<artifactId>mh-commons</artifactId>
<version>6.1.2-SNAPSHOT</version>
<version>6.1.2</version>
</dependency>
<dependency>
<!--License Apache 2.0-->
Expand Down
2 changes: 1 addition & 1 deletion apps/utils/db_copy/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<dependency>
<groupId>ai.metaheuristic</groupId>
<artifactId>mh-commons</artifactId>
<version>6.1.2-SNAPSHOT</version>
<version>6.1.2</version>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
Expand Down
2 changes: 1 addition & 1 deletion apps/utils/status_file/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<dependency>
<groupId>ai.metaheuristic</groupId>
<artifactId>mh-commons</artifactId>
<version>6.1.2-SNAPSHOT</version>
<version>6.1.2</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
2 changes: 1 addition & 1 deletion distrib/jpackage/jpackage-metaheuristic.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
C:\jdk-21-35\bin\jpackage.exe --verbose -i jar -d output -n metaheuristic --main-jar metaheuristic.jar --main-class org.springframework.boot.loader.JarLauncher --type app-image --java-options "-Xms1g -Xmx1g -ea -Dfile.encoding=UTF-8 -Dspring.profiles.active=dispatcher,processor,derby,standalone,disk-storage"
C:\jdk-21.0.2\bin\jpackage.exe --verbose -i jar -d output -n metaheuristic --main-jar metaheuristic.jar --main-class org.springframework.boot.loader.launch.JarLauncher --type app-image --java-options "-Xms1g -Xmx1g -ea -Dfile.encoding=UTF-8 -Dspring.profiles.active=dispatcher,processor,h2,standalone,disk-storage"
18 changes: 12 additions & 6 deletions docs-dev/steam-distib.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
1. create fat-jar for metaheuristic in repository metaheuristic
!!! default repo for 1.x. command is metaheuristic
!!! default repo for paragraphs 1.x. command is metaheuristic

1.1. copy ./apps/metaheuristic/target/metaheuristic.jar to ./distrib/jpackage/jar
1.2. delete everything in ./distrib/jpackage/output
1.3. run ./distrib/jpackage/jpackage-metaheuristic.bat


2. rebuild angular in repository metaheuristic-angular
!!! default repo for 2.x. command is metaheuristic-angular
!!! default repo for paragraphs 2.x. command is metaheuristic-angular

2.1. delete everything in ./dist
2.2. run command "build4.2 ng build --aot --configuration production-standalone"
Expand All @@ -28,9 +28,15 @@ result of packaging will be in ./release-builds/metaheuristic-win32-x64

3. Push to Steam

3.1. Delete everything in D:\___steam\mh-play-test\ContentBuilder\content\
3.2. Copy ./release-builds/metaheuristic-win32-x64 to D:\___steam\mh-play-test\ContentBuilder\content\
3.3. Run D:\___steam\mh-play-test\ContentBuilder\run_build.bat
3.4. in steamworks at https://partner.steamgames.com/apps/builds/2512570 switch the latest build
3.1. Delete everything in D:\___steam\mh\ContentBuilder\content\
3.2. Copy ./release-builds/metaheuristic-win32-x64 to D:\___steam\mh\ContentBuilder\content\
3.3. Run D:\___steam\mh\ContentBuilder\run_build.bat

for Metaheuristic:
3.4.1. in steamworks at https://partner.steamgames.com/apps/builds/2499020 switch the latest build
by selecting default options and then pressing 'Preview changes' button

for Metaheuristic-playtest:
3.4.2. in steamworks at https://partner.steamgames.com/apps/builds/2512570 switch the latest build
by pressing 'Preview changes' button

0 comments on commit 0b0ceb2

Please sign in to comment.