Skip to content

Commit

Permalink
incubator-kie-tools#2475: Include the bump of variable tagVersion in …
Browse files Browse the repository at this point in the history
…version.go via the bump-version.sh script (apache#2522)
  • Loading branch information
wmedvede authored Aug 7, 2024
1 parent be1e6e3 commit d57869c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/sonataflow-operator/hack/bump-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d57869c

Please sign in to comment.