Remove blacklisted crates.

This commit is contained in:
jcamiel 2023-11-07 09:38:53 +01:00
parent 573f6bea56
commit 74a539be3e
No known key found for this signature in database
GPG Key ID: 07FF11CFD55356CC

View File

@ -116,8 +116,6 @@ main() {
check_args "${arg}"
updated_count=0
blacklisted=""
# update toml
for package in packages/*; do
toml_file="${package}/Cargo.toml"
@ -135,12 +133,6 @@ main() {
if [ "${newest_version}" == "${actual_version}" ]; then
echo "${color_green}newest${color_reset}"
else
# Blacklist some crates
if [[ ${crate} =~ ${blacklisted} ]]; then
echo "${color_yellow} blacklisted latest ${last_version}${color_reset}"
continue
fi
if [ "${arg}" = "--check" ]; then
echo "${color_red}old, please update to latest ${last_version}${color_reset}"
updated_count=$((updated_count + 1))