From aa213f2b9526f95ba347dda8eecf0de6ab13192f Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 23 Aug 2021 18:18:05 -0400 Subject: [PATCH] Fix prod deploy script and clippy --- docker/prod/deploy.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/prod/deploy.sh b/docker/prod/deploy.sh index 914e3bc40..9109a53c0 100755 --- a/docker/prod/deploy.sh +++ b/docker/prod/deploy.sh @@ -21,6 +21,7 @@ if [ ! -z "${third_semver##*[!0-9]*}" ]; then fi # Update crate versions for crates.io +pushd ../../ for crate in crates/*; do pushd $crate # update version of the crate itself (only first occurence) @@ -33,7 +34,7 @@ done # same as above, for the main cargo.toml sed -i "s/{ version = \"=$old_tag\", path/{ version = \"=$new_tag\", path/g" Cargo.toml sed -i "s/version = \"$old_tag\"/version = \"$new_tag\"/g" Cargo.toml - +popd # The commit git commit -m"Version $new_tag"