From a57f6821b0f20401259c0dff78f6146ce9175575 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Wed, 25 Aug 2021 16:25:41 -0400 Subject: [PATCH] Better old_tag --- docker/prod/deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/prod/deploy.sh b/docker/prod/deploy.sh index ba05b61d6..85c86d86a 100755 --- a/docker/prod/deploy.sh +++ b/docker/prod/deploy.sh @@ -21,7 +21,7 @@ fi # Update crate versions for crates.io pushd ../../ -old_tag=$(cat "ansible/VERSION") +old_tag=$(head -3 Cargo.toml | tail -1 | cut -d'"' -f 2) for crate in crates/*; do pushd $crate # update version of the crate itself (only first occurence)