From f1baf6dbc5822b3341378c4e16d285b6fae30a8a Mon Sep 17 00:00:00 2001 From: Mykola Dzham Date: Thu, 21 May 2026 17:51:39 +0200 Subject: [PATCH] Drop current channel version test (#12662) It is broken with the new release procedures and does not make sense anymore. (cherry picked from commit 19fe89e3e4b8add1a5ffb27598c99a16e86457aa) --- ci/check-channel-version.sh | 27 --------------------------- ci/test-sanity.sh | 1 - 2 files changed, 28 deletions(-) delete mode 100755 ci/check-channel-version.sh diff --git a/ci/check-channel-version.sh b/ci/check-channel-version.sh deleted file mode 100755 index 6027a9ec73f..00000000000 --- a/ci/check-channel-version.sh +++ /dev/null @@ -1,27 +0,0 @@ - # Ensure the current channel version is not equal ("greater") than -# the version of the latest tag -if [[ -z $CI_TAG ]]; then - echo "--- channel version check" - ( - eval "$(ci/channel-info.sh)" - - if [[ -n $CHANNEL_LATEST_TAG ]]; then - source scripts/read-cargo-variable.sh - - version=$(readCargoVariable version Cargo.toml) - echo "latest channel tag: $CHANNEL_LATEST_TAG" - echo "current version: v$version" - - if [[ $CHANNEL_LATEST_TAG = v$version ]]; then - echo -e "\033[31mError:\033[0m A release has been tagged since your feature branch was last rebased. must be greater than .. - Possible solutions (in the order they should be tried): - 1. rebase your feature branch on the base branch - 2. merge the PR: \"Bump Version to ...\" once it has passed ci/checks, then rebase - 3. ask for help in #devops on discord" - exit 1 - fi - else - echo "Skipped. CHANNEL_LATEST_TAG (CHANNEL=$CHANNEL) unset" - fi - ) -fi diff --git a/ci/test-sanity.sh b/ci/test-sanity.sh index 3a1de04025a..c1ef0a9af63 100755 --- a/ci/test-sanity.sh +++ b/ci/test-sanity.sh @@ -50,7 +50,6 @@ fi git diff "$target" --check --oneline ) -_ ci/check-channel-version.sh _ ci/nits.sh scripts/increment-cargo-version.sh check