From 5d54101317228abb7dff7e89ecc00397fd078e9b Mon Sep 17 00:00:00 2001 From: Ritesh Chitlangi Date: Fri, 12 Nov 2021 17:41:09 +0800 Subject: [PATCH] fix shell command for /bin/sh --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index a6de865..be6c04b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -92,7 +92,7 @@ steps: - export CARGO_HOME=/tmp/cargo/$DRONE_BRANCH - export CARGO_TARGET_DIR=/tmp/cargo-target/$DRONE_BRANCH - mkdir -p $CARGO_HOME $CARGO_TARGET_DIR - - export CARGO_TOKEN=$(grep 'token' $HOME/.cargo/credentials | sed -e 's/\"//g' | awk '{print $3}') + - export CARGO_TOKEN=$(cat $HOME/.cargo/credentials-token) - cd epp-client - cargo publish --token $CARGO_TOKEN - cd ..