Skip to content

Commit

Permalink
Update vendor script
Browse files Browse the repository at this point in the history
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
  • Loading branch information
mxpv committed Jan 8, 2025
1 parent 68bff89 commit 30be440
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/update-vendor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,18 @@
# For each crate, the script expects a text file named `rsync.txt` in the crate's directory.
# The file should contain a list of proto files that should be synchronized from containerd.

VERSION="v1.7.13"
VERSION="v2.0.1"

set -x

# Download containerd source code.
wget https://github.com/containerd/containerd/archive/refs/tags/$VERSION.tar.gz -O containerd.tar.gz
if [ $? -ne 0 ]; then
echo "Error: Failed to download containerd source code."
exit 1
fi

# Ensure the file is removed on exit
trap 'rm containerd.tar.gz' EXIT

# Extract zip archive to a temporary directory.
Expand Down

0 comments on commit 30be440

Please sign in to comment.