Skip to content

Commit

Permalink
fix option --update for dependency_age.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lepapareil authored Jul 2, 2021
1 parent 3bf4b32 commit 1aeaa0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/dependency_age.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ for package in packages/* ; do
if [ "${newest_version}" == "${actual_version}" ] ; then
echo "${color_green}newest${color_reset}"
else
if [ "$1" = "--upgrade" ] ; then
if [ "$1" = "--update" ] ; then
sed -i "s/${dependency} = \"${actual_version}\"/${dependency} = \"${last_version}\"/g" "${package}/Cargo.toml"
echo "${color_blue}old, updated to ${last_version}${color_reset}"
else
Expand Down

0 comments on commit 1aeaa0f

Please sign in to comment.