Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gsdukbh committed Dec 3, 2023
1 parent a53b9c0 commit 7e22866
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/blank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: check-tags
# Controls when the workflow will run
on:
schedule:
- cron: '0 0 */2 * *'
- cron: '0 0 */1 * *'
# Triggers the workflow on push or pull request events but only for the main branch
# push:
# branches: [ main ]
Expand Down
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

cat version_list | while read version; do
cat latest | while read latest; do
echo ${version}
HAVE_TAG=false
for tag in $(git tag); do
Expand Down
10 changes: 5 additions & 5 deletions check-version.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
#!/bin/bash

SEARCH_PAGES='1'
SEARCH_PAGES='2'

if [ -f ./version_list ]; then
rm version_list
if [ -f ./latest ]; then
rm latest
fi

for i in $(seq 1 ${SEARCH_PAGES}); do
curl -s "https://packages.gitlab.com/gitlab/gitlab-ee?page=${i}" | grep "_arm64.deb" | grep -v '\-rc' | sed 's/.*>\(.*\)<.*/\1/' | sort -u | sed 's/gitlab-ee_\(.*\)_arm64.deb/\1/' >> version_list;
curl -s "https://packages.gitlab.com/gitlab/gitlab-ee?page=${i}" | grep "_arm64.deb" | grep -v '\-rc' | sed 's/.*>\(.*\)<.*/\1/' | sort -u | sed 's/gitlab-ee_\(.*\)_arm64.deb/\1/' >> latest;
done
sort -rVu version_list -o version_list
sort -rVu latest -o latest

0 comments on commit 7e22866

Please sign in to comment.