Skip to content

Commit 30be440

Browse files
committed
Update vendor script
Signed-off-by: Maksym Pavlenko <[email protected]>
1 parent 68bff89 commit 30be440

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scripts/update-vendor.sh

+7-1
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,18 @@
88
# For each crate, the script expects a text file named `rsync.txt` in the crate's directory.
99
# The file should contain a list of proto files that should be synchronized from containerd.
1010

11-
VERSION="v1.7.13"
11+
VERSION="v2.0.1"
1212

1313
set -x
1414

1515
# Download containerd source code.
1616
wget https://github.com/containerd/containerd/archive/refs/tags/$VERSION.tar.gz -O containerd.tar.gz
17+
if [ $? -ne 0 ]; then
18+
echo "Error: Failed to download containerd source code."
19+
exit 1
20+
fi
21+
22+
# Ensure the file is removed on exit
1723
trap 'rm containerd.tar.gz' EXIT
1824

1925
# Extract zip archive to a temporary directory.

0 commit comments

Comments
 (0)