Fix prod deploy script and clippy

This commit is contained in:
Dessalines 2021-08-23 18:18:05 -04:00
parent 815b271084
commit aa213f2b95

View file

@ -21,6 +21,7 @@ if [ ! -z "${third_semver##*[!0-9]*}" ]; then
fi fi
# Update crate versions for crates.io # Update crate versions for crates.io
pushd ../../
for crate in crates/*; do for crate in crates/*; do
pushd $crate pushd $crate
# update version of the crate itself (only first occurence) # update version of the crate itself (only first occurence)
@ -33,7 +34,7 @@ done
# same as above, for the main cargo.toml # 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\", path/{ version = \"=$new_tag\", path/g" Cargo.toml
sed -i "s/version = \"$old_tag\"/version = \"$new_tag\"/g" Cargo.toml sed -i "s/version = \"$old_tag\"/version = \"$new_tag\"/g" Cargo.toml
popd
# The commit # The commit
git commit -m"Version $new_tag" git commit -m"Version $new_tag"