From 848eacce17c93c31027133745bef94aa29485f3c Mon Sep 17 00:00:00 2001 From: Dylan Anthony Date: Thu, 19 Sep 2024 12:57:19 -0600 Subject: [PATCH] Fix cargo publish in CircleCI --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a28a4681..a43e74a4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -124,9 +124,9 @@ jobs: CARGO_VERSION=$(echo $CIRCLE_TAG | sed 's/@v/@/') # If this is router-bridge, we need to `--allow-dirty` for the JavaScript bundle if [ "$PACKAGE_NAME" == "router-bridge"* ]; then - cargo publish -p $CIRCLE_TAG --allow-dirty + cargo publish -p CARGO_VERSION --allow-dirty else - cargo publish -p $CIRCLE_TAG + cargo publish -p CARGO_VERSION fi # The machines we use to run our workflows on