From da6058a621831d860b0157196c048f94e5fbd8c4 Mon Sep 17 00:00:00 2001 From: Jesse Szwedko Date: Wed, 1 Nov 2023 06:57:55 -0700 Subject: [PATCH] fix(releasing): Update cargo-deb To include fix to not have empty newlines in conffiles. Fixes: https://github.com/vectordotdev/vector/issues/19008 Signed-off-by: Jesse Szwedko --- scripts/environment/prepare.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/environment/prepare.sh b/scripts/environment/prepare.sh index ff01e4b4d5f69..408258794fff3 100755 --- a/scripts/environment/prepare.sh +++ b/scripts/environment/prepare.sh @@ -5,8 +5,8 @@ git config --global --add safe.directory /git/vectordotdev/vector rustup show # causes installation of version from rust-toolchain.toml rustup default "$(rustup show active-toolchain | awk '{print $1;}')" -if [[ "$(cargo-deb --version)" != "1.41.3" ]] ; then - rustup run stable cargo install cargo-deb --version 1.41.3 --force --locked +if [[ "$(cargo-deb --version)" != "2.0.0" ]] ; then + rustup run stable cargo install cargo-deb --version 2.0.0 --force --locked fi if [[ "$(cross --version | grep cross)" != "cross 0.2.5" ]] ; then rustup run stable cargo install cross --version 0.2.5 --force --locked