From 5cd20d2669b611b6dc9dec607d00728a917cd671 Mon Sep 17 00:00:00 2001 From: Evgeny Gusarov Date: Mon, 25 May 2026 12:48:56 +0300 Subject: [PATCH 1/2] Bump v3-operator:v4.1.13 --- bump-operator-version.sh | 22 ++++++++++++++++++++++ operator/launch-operator-service.mdx | 6 +++--- operator/start-operator.mdx | 2 +- 3 files changed, 26 insertions(+), 4 deletions(-) create mode 100755 bump-operator-version.sh diff --git a/bump-operator-version.sh b/bump-operator-version.sh new file mode 100755 index 00000000..a48ab167 --- /dev/null +++ b/bump-operator-version.sh @@ -0,0 +1,22 @@ +#!/bin/bash -e + +operator_version=$1 + +# Check for uncommitted changes. New files are allowed. +if [[ -n $(git status --porcelain | grep '^[ M][MDA]') ]]; then + echo "Warning: You have uncommitted changes in tracked files. Please commit or stash them before running this script." + exit 1 +fi + +git checkout main +git pull +branch="bump-operator-$operator_version" +git checkout -b $branch + +# Replace version in ./operator folder, but keep legacy ./operator-v3 folder unchanged +find ./operator -type f -name "*.mdx" \ + -exec sed -i '' -E \ + "s/v3-operator:v[0-9]+\.[0-9]+\.[0-9]+/v3-operator:$operator_version/g" {} + + +git commit -am "Bump operator version to $operator_version" +git push --set-upstream origin $branch diff --git a/operator/launch-operator-service.mdx b/operator/launch-operator-service.mdx index f96d9a52..edf55301 100644 --- a/operator/launch-operator-service.mdx +++ b/operator/launch-operator-service.mdx @@ -101,7 +101,7 @@ The Operator Service can be installed as a binary, via Docker, or built from sou Pull Official Image ```bash - docker pull europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v4.1.11 + docker pull europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v4.1.13 ``` Alternatively, build the Docker image locally: @@ -109,7 +109,7 @@ The Operator Service can be installed as a binary, via Docker, or built from sou ```bash git clone https://github.com/stakewise/v3-operator.git cd v3-operator - docker build --pull -t europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v4.1.11 . + docker build --pull -t europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v4.1.13 . ``` Run commands using this format: @@ -118,7 +118,7 @@ The Operator Service can be installed as a binary, via Docker, or built from sou docker run --rm -ti \ -u $(id -u):$(id -g) \ -v ~/.stakewise/:/data \ - europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v4.1.11 \ + europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v4.1.13 \ src/main.py COMMAND \ --flagA=123 \ --flagB=xyz diff --git a/operator/start-operator.mdx b/operator/start-operator.mdx index c93358b4..97df6555 100644 --- a/operator/start-operator.mdx +++ b/operator/start-operator.mdx @@ -46,7 +46,7 @@ Choose the format matching your installation method: docker run --restart on-failure:10 \ -u $(id -u):$(id -g) \ -v ~/.stakewise/:/data \ - europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v4.1.11 \ + europe-west4-docker.pkg.dev/stakewiselabs/public/v3-operator:v4.1.13 \ src/main.py start \ --vault=0x834F27bC8670491b75af512d943f01D5383F87Cf \ --data-dir=/data \ From b96b43ebab9f4435de4ddd7edd2fa9d798c4f8ce Mon Sep 17 00:00:00 2001 From: Evgeny Gusarov Date: Mon, 25 May 2026 12:53:38 +0300 Subject: [PATCH 2/2] Rm local stuff --- bump-operator-version.sh | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100755 bump-operator-version.sh diff --git a/bump-operator-version.sh b/bump-operator-version.sh deleted file mode 100755 index a48ab167..00000000 --- a/bump-operator-version.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -e - -operator_version=$1 - -# Check for uncommitted changes. New files are allowed. -if [[ -n $(git status --porcelain | grep '^[ M][MDA]') ]]; then - echo "Warning: You have uncommitted changes in tracked files. Please commit or stash them before running this script." - exit 1 -fi - -git checkout main -git pull -branch="bump-operator-$operator_version" -git checkout -b $branch - -# Replace version in ./operator folder, but keep legacy ./operator-v3 folder unchanged -find ./operator -type f -name "*.mdx" \ - -exec sed -i '' -E \ - "s/v3-operator:v[0-9]+\.[0-9]+\.[0-9]+/v3-operator:$operator_version/g" {} + - -git commit -am "Bump operator version to $operator_version" -git push --set-upstream origin $branch