about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-04 21:21:33 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-04 21:21:33 +0100
commit35123cb0b25a26e948970d276e4713bf0f599ffa (patch)
treef687210d54e0f7fd5797ee46c429bd4a281651b0
parentfix(yt/select/cmds): Fix future incompatibility (diff)
downloadyt-35123cb0b25a26e948970d276e4713bf0f599ffa.tar.gz
yt-35123cb0b25a26e948970d276e4713bf0f599ffa.zip
build(update.sh): Improve recursiveness
-rwxr-xr-xupdate.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/update.sh b/update.sh
index 8bec4a4..6672566 100755
--- a/update.sh
+++ b/update.sh
@@ -12,9 +12,10 @@
 
 nix flake update
 
-[ "$1" = "upgrade" ] && cargo upgrade --incompatible
-cargo update
+[ "$1" = "upgrade" ] && cargo upgrade --incompatible allow --pinned allow --recursive true
+cargo update --recursive
 
+# TODO: Not all of these update are currently needed. <2024-11-04>
 ./crates/yt_dlp/update.sh "$@"
 ./crates/libmpv2/update.sh "$@"
 ./crates/bytes/update.sh "$@"