From aa5c819669d755ad4edeb4c072f7c26ae421f0b3 Mon Sep 17 00:00:00 2001 From: Benoit Ranque Date: Tue, 19 Mar 2024 21:28:45 -0400 Subject: [PATCH] use CLI version for tag comparison check in cli build job --- .github/workflows/deploy-stage.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-stage.yaml b/.github/workflows/deploy-stage.yaml index cddada8..daa23ee 100644 --- a/.github/workflows/deploy-stage.yaml +++ b/.github/workflows/deploy-stage.yaml @@ -105,7 +105,7 @@ jobs: # If we're on a tag, use the tag name as the release version. if [[ "$GITHUB_REF_TYPE" == 'tag' ]]; then # Ensure that the version specified in Cargo.toml is the same as the tag (with a 'v' prefix). - CARGO_VERSION="$(cargo metadata --format-version=1 | jq -r '.packages | .[] | select(.name == "ndc-clickhouse") | .version')" + CARGO_VERSION="$(cargo metadata --format-version=1 | jq -r '.packages | .[] | select(.name == "ndc-clickhouse-cli") | .version')" echo "Git tag: ${GITHUB_REF_NAME}" echo "Cargo version: ${CARGO_VERSION}"