Remove duplicated fetch_github_commit_archive in CI scripts.
The code using `fetch_github_commit_archive` was removed in #72937.
This commit is contained in:
parent
0143552b2c
commit
1d7c20c345
2 changed files with 0 additions and 13 deletions
|
|
@ -33,15 +33,3 @@ function retry {
|
|||
}
|
||||
done
|
||||
}
|
||||
|
||||
# Copied from ../../init_repo.sh
|
||||
function fetch_github_commit_archive {
|
||||
local module=$1
|
||||
local cached="download-${module//\//-}.tar.gz"
|
||||
retry sh -c "rm -f $cached && \
|
||||
curl -f -sSL -o $cached $2"
|
||||
mkdir $module
|
||||
touch "$module/.git"
|
||||
tar -C $module --strip-components=1 -xf $cached
|
||||
rm $cached
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,6 @@ if [ "$(releaseChannel)" = "beta" ]; then
|
|||
git fetch origin --unshallow beta master
|
||||
fi
|
||||
|
||||
# Duplicated in docker/dist-various-2/shared.sh
|
||||
function fetch_github_commit_archive {
|
||||
local module=$1
|
||||
local cached="download-${module//\//-}.tar.gz"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue