You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by ti...@apache.org on 2024/07/22 14:26:55 UTC
(incubator-kie-tools) branch 10.0.x updated: [10.0.x] incubator-kie-tools#2475: Include the bump of variable tagVersion in version.go via the bump-version.sh script (#2476)
This is an automated email from the ASF dual-hosted git repository.
tiagobento pushed a commit to branch 10.0.x
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/10.0.x by this push:
new 5af36fe2713 [10.0.x] incubator-kie-tools#2475: Include the bump of variable tagVersion in version.go via the bump-version.sh script (#2476)
5af36fe2713 is described below
commit 5af36fe2713ed5470952690788334bd7932cb960
Author: Walter Medvedeo <wm...@gmail.com>
AuthorDate: Mon Jul 22 16:26:51 2024 +0200
[10.0.x] incubator-kie-tools#2475: Include the bump of variable tagVersion in version.go via the bump-version.sh script (#2476)
---
packages/sonataflow-operator/hack/bump-version.sh | 1 +
packages/sonataflow-operator/version/version.go | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/packages/sonataflow-operator/hack/bump-version.sh b/packages/sonataflow-operator/hack/bump-version.sh
index c2ff2ae3500..e2b131e7b35 100755
--- a/packages/sonataflow-operator/hack/bump-version.sh
+++ b/packages/sonataflow-operator/hack/bump-version.sh
@@ -59,6 +59,7 @@ node -p "require('replace-in-file').sync({ from: /docker\.io\/apache\/incubator-
node -p "require('replace-in-file').sync({ from: /sonataflow-operator-system\/sonataflow-operator:[\w\.]*/g, to: 'sonataflow-operator-system/sonataflow-operator:${imageTag}', files: ['**/*.yaml'] });"
node -p "require('replace-in-file').sync({ from: /\bOperatorVersion = .*/g, to: 'OperatorVersion = \"${version}\"', files: ['version/version.go'] });"
+node -p "require('replace-in-file').sync({ from: /\btagVersion = .*/g, to: 'tagVersion = \"${imageTag}\"', files: ['version/version.go'] });"
node -p "require('replace-in-file').sync({ from: /\bcontainerImage:.*\b/g, to: 'containerImage: ${targetSonataflowOperatorImage}', files: ['$(getCsvFile)'] });"
make generate-all
diff --git a/packages/sonataflow-operator/version/version.go b/packages/sonataflow-operator/version/version.go
index 00f01ffa9e0..ab8b3754018 100644
--- a/packages/sonataflow-operator/version/version.go
+++ b/packages/sonataflow-operator/version/version.go
@@ -30,7 +30,7 @@ const (
// This tag must reflect an existing tag in the registry. In development, must follow the git branch naming.
// When released, this version should reflect the `major.minor` version in the registry.
// For example, docker.io/apache/incubator-kie-sonataflow-operator:10.0.x -> 10.0
- tagVersion = "main"
+ tagVersion = "10.0.x"
// Kogito images tag version. Used for data-index and jobs-service images.
kogitoImagesTagVersion = "10.0.999-20240717"
// OpenJDK image tag version
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org