Update release.yml

This commit is contained in:
rustmailer
2025-12-29 12:41:15 +08:00
parent 2887b5d16d
commit c01872284e
+1 -1
View File
@@ -39,7 +39,7 @@ jobs:
run: |
TAG_VERSION="${GITHUB_REF_NAME}"
CARGO_VERSION=$(grep '^version' Cargo.toml | head -n1 | awk -F'[ "]+' '{print $2}')
CARGO_VERSION=$(grep '^version' Cargo.toml | head -n1 | cut -d '"' -f2)
echo "Git tag version: $TAG_VERSION"
echo "Cargo.toml version: $CARGO_VERSION"