This is an automated email from the ASF dual-hosted git repository.

yuxia pushed a commit to branch release-0.1
in repository https://gitbox.apache.org/repos/asf/fluss-rust.git


The following commit(s) were added to refs/heads/release-0.1 by this push:
     new 00055d1  ci: update verify tag version
00055d1 is described below

commit 00055d1c25a052e21f8330930eaeff3f7f507c73
Author: luoyuxia <[email protected]>
AuthorDate: Mon Mar 2 11:26:39 2026 +0800

    ci: update verify tag version
---
 .github/actions/verify-tag-version/action.yml | 18 +++++++++++-------
 1 file changed, 11 insertions(+), 7 deletions(-)

diff --git a/.github/actions/verify-tag-version/action.yml 
b/.github/actions/verify-tag-version/action.yml
index ad16b4f..1b34bdb 100644
--- a/.github/actions/verify-tag-version/action.yml
+++ b/.github/actions/verify-tag-version/action.yml
@@ -26,12 +26,16 @@ runs:
   using: 'composite'
   steps:
     - run: |
-        TAG_VERSION="${GITHUB_REF#refs/tags/v}"
-        CRATE_VERSION=$(sed -n '/^\[workspace.package\]/,/^\[/p' Cargo.toml | 
grep '^\s*version\s*=' | head -1 | sed -E 's/.*"([^"]+)".*/\1/')
-        base() { echo "$1" | sed -E 's/-rc(\.[0-9]+|[0-9]+)$//'; }
-        if [ "$(base "$TAG_VERSION")" != "$(base "$CRATE_VERSION")" ]; then
-          echo "::error::Tag version ($TAG_VERSION) does not match Cargo.toml 
version ($CRATE_VERSION). Run scripts/bump-version.sh before tagging, or tag 
the version that is in Cargo.toml."
-          exit 1
-        fi
         echo "Tag and crate version match: $TAG_VERSION"
       shell: bash
+# uncomment for 0.1.0-incubating-rc0, add it back when incubating is not 
needed anymore
+#    - run: |
+#        TAG_VERSION="${GITHUB_REF#refs/tags/v}"
+#        CRATE_VERSION=$(sed -n '/^\[workspace.package\]/,/^\[/p' Cargo.toml | 
grep '^\s*version\s*=' | head -1 | sed -E 's/.*"([^"]+)".*/\1/')
+#        base() { echo "$1" | sed -E 's/-rc(\.[0-9]+|[0-9]+)$//'; }
+#        if [ "$(base "$TAG_VERSION")" != "$(base "$CRATE_VERSION")" ]; then
+#          echo "::error::Tag version ($TAG_VERSION) does not match Cargo.toml 
version ($CRATE_VERSION). Run scripts/bump-version.sh before tagging, or tag 
the version that is in Cargo.toml."
+#          exit 1
+#        fi
+#        echo "Tag and crate version match: $TAG_VERSION"
+#      shell: bash

Reply via email to