mirror of
https://git.yrzr.tk/docker/gitlab-ce-arm64.git
synced 2024-11-22 06:58:12 +08:00
13 lines
369 B
Bash
Executable File
13 lines
369 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SEARCH_PAGES='3'
|
|
|
|
if [ -f ./version_list ]; then
|
|
rm version_list
|
|
fi
|
|
|
|
for i in $(seq 1 ${SEARCH_PAGES}); do
|
|
curl -s "https://packages.gitlab.com/gitlab/gitlab-ce?page=${i}" | grep "_arm64.deb" | grep -v '\-rc' | sed 's/.*>\(.*\)<.*/\1/' | sort -u | sed 's/gitlab-ce_\(.*\)_arm64.deb/\1/' >> version_list;
|
|
done
|
|
sort -rVu version_list -o version_list
|