From 02071e9818ad5c2432c9a891a121f3d765e4ef09 Mon Sep 17 00:00:00 2001 From: Daniel Henneberger Date: Tue, 27 Aug 2024 16:51:53 -0700 Subject: [PATCH] Bump version to prepare for v0.5.4 release Signed-off-by: Daniel Henneberger --- RELEASE.md | 9 +++------ profiles/default/README.md | 2 +- profiles/default/package.json | 6 +++--- .../src/test/java/com/datasqrl/UseCasesFullIT.java | 2 +- .../src/main/java/com/datasqrl/cmd/RootCommand.java | 2 +- .../src/main/java/com/datasqrl/cmd/PackageBootstrap.java | 2 +- 6 files changed, 10 insertions(+), 13 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index 1cf4d1f77..614a837f6 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -5,19 +5,16 @@ Step 1: Assure you are in a clean working main - git pull Prerelease: -Update the build.gradle.ftl in the profiles to point to the new sqrl version +Update the build.gradle.ftl and package.json in the profiles to point to the new sqrl version. Update the docker image references. ``` sqrlVersion = "0.?" ``` Update the RootCommand version from 'v0.x.0' -Update the default dependency version from 'v0.x.0' +Update the default dependency version in the cli from 'v0.x.0' -Update the Dockerfile in the vertx profile: -``` -FROM datasqrl/sqrl-server:v.0? -``` +Commit and push this with a message "Bump version to prepare for v0.x release" Step 2: Run the command to update the POM's, add a tag, and push the new commit. Note: Update the release version on the command below diff --git a/profiles/default/README.md b/profiles/default/README.md index 318a65171..ba61f61b0 100644 --- a/profiles/default/README.md +++ b/profiles/default/README.md @@ -107,7 +107,7 @@ It is also recommended to specify the exact version used in the dependencies sec { "datasqrl.profile.default": { "name": "datasqrl.profile.default", - "version": "0.5.3", + "version": "0.5.4", "variant": "dev" } } diff --git a/profiles/default/package.json b/profiles/default/package.json index 595570139..5e8171d5f 100644 --- a/profiles/default/package.json +++ b/profiles/default/package.json @@ -2,9 +2,9 @@ "version": "1", "enabled-engines": ["vertx", "postgres", "kafka", "flink"], "compile" : { - "sqrl-version": "0.5.3", + "sqrl-version": "0.5.4", "flink-build-image": "gradle:8.6-jdk11", - "sqrl-vertx-image": "datasqrl/sqrl-server:v0.5.3" + "sqrl-vertx-image": "datasqrl/sqrl-server:v0.5.4" }, "engines" : { "flink" : { @@ -68,7 +68,7 @@ }, "package": { "name": "datasqrl.profile.default", - "version": "0.5.3", + "version": "0.5.4", "variant": "dev", "description": "A docker compose datasqrl profile", "homepage": "", diff --git a/sqrl-testing/sqrl-integration-tests/src/test/java/com/datasqrl/UseCasesFullIT.java b/sqrl-testing/sqrl-integration-tests/src/test/java/com/datasqrl/UseCasesFullIT.java index 2f0b6adab..d8f399083 100644 --- a/sqrl-testing/sqrl-integration-tests/src/test/java/com/datasqrl/UseCasesFullIT.java +++ b/sqrl-testing/sqrl-integration-tests/src/test/java/com/datasqrl/UseCasesFullIT.java @@ -86,7 +86,7 @@ public static String writeProfile() { ObjectNode compileNode = mapper.createObjectNode(); compileNode.put("sqrl-vertx-image", "vertx-latest:latest"); compileNode.put("flink-build-image", "flink-build:latest"); - compileNode.put("sqrl-version", "0.5.4-SNAPSHOT"); + compileNode.put("sqrl-version", "0.5.5-SNAPSHOT"); // Attach the compile object to the root node rootNode.set("compile", compileNode); diff --git a/sqrl-tools/sqrl-cli/src/main/java/com/datasqrl/cmd/RootCommand.java b/sqrl-tools/sqrl-cli/src/main/java/com/datasqrl/cmd/RootCommand.java index ca4ac07f6..81d174b96 100644 --- a/sqrl-tools/sqrl-cli/src/main/java/com/datasqrl/cmd/RootCommand.java +++ b/sqrl-tools/sqrl-cli/src/main/java/com/datasqrl/cmd/RootCommand.java @@ -11,7 +11,7 @@ import picocli.CommandLine; import picocli.CommandLine.ScopeType; -@CommandLine.Command(name = "datasqrl", mixinStandardHelpOptions = true, version = "v0.5.3", +@CommandLine.Command(name = "datasqrl", mixinStandardHelpOptions = true, version = "v0.5.4", subcommands = {CompilerCommand.class, PublishCommand.class, TestCommand.class, LoginCommand.class, RunCommand.class}) @Getter diff --git a/sqrl-tools/sqrl-packager/src/main/java/com/datasqrl/cmd/PackageBootstrap.java b/sqrl-tools/sqrl-packager/src/main/java/com/datasqrl/cmd/PackageBootstrap.java index 3aec37117..fd9af2985 100644 --- a/sqrl-tools/sqrl-packager/src/main/java/com/datasqrl/cmd/PackageBootstrap.java +++ b/sqrl-tools/sqrl-packager/src/main/java/com/datasqrl/cmd/PackageBootstrap.java @@ -165,7 +165,7 @@ public PackageJson setDefaultConfig(PackageJson packageJson) { packageJson.setProfiles(new String[]{"datasqrl.profile.default"}); packageJson.getDependencies() .addDependency("datasqrl.profile.default", - new DependencyImpl("datasqrl.profile.default", "0.5.3", "dev")); + new DependencyImpl("datasqrl.profile.default", "0.5.4", "dev")); return packageJson; }