mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-27 06:41:18 +00:00
Fix prod deploy script and clippy
This commit is contained in:
parent
815b271084
commit
aa213f2b95
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue