From 65d93224fb65f19d4912e308ea5cc7dde57aec25 Mon Sep 17 00:00:00 2001 From: mcdowellster Date: Thu, 28 Sep 2023 09:49:57 -0400 Subject: [PATCH] fix alpha release --- .github/workflows/update_gl_version.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update_gl_version.yml b/.github/workflows/update_gl_version.yml index 3b4eaa0..1a771d5 100644 --- a/.github/workflows/update_gl_version.yml +++ b/.github/workflows/update_gl_version.yml @@ -14,10 +14,10 @@ jobs: - name: "Check Current Version and update if needed" shell: "bash" run: | - lgl=$(curl -L --fail "https://hub.docker.com/v2/repositories/graylog/graylog/tags/?page_size=1000" | jq '.results | .[] | .name' -r | sed 's/latest//' | sort --version-sort | awk '!/beta/' | tail -n 1) + lgl=$(curl -L --fail "https://hub.docker.com/v2/repositories/graylog/graylog/tags/?page_size=1000" | jq '.results | .[] | .name' -r | sed 's/latest//' | sort --version-sort | awk '!/beta/' | awk '!/alpha/' | tail -n 1) dcv=$(sed -n 's/image: "graylog\/graylog-enterprise://p' autogl/docker-compose.yml | tr -d '"' | tr -d " ") if [[ "$lgl" != "$dcv" ]]; then echo "update plz"; else echo "updated already"; exit 0; fi - lgl=$(curl -L --fail "https://hub.docker.com/v2/repositories/graylog/graylog/tags/?page_size=1000" | jq '.results | .[] | .name' -r | sed 's/latest//' | sort --version-sort | awk '!/beta/' | tail -n 1) + lgl=$(curl -L --fail "https://hub.docker.com/v2/repositories/graylog/graylog/tags/?page_size=1000" | jq '.results | .[] | .name' -r | sed 's/latest//' | sort --version-sort | awk '!/beta/' | awk '!/alpha/' | tail -n 1) sed -i "s+enterprise\:$dcv+enterprise\:$lgl+g" autogl/docker-compose.yml git config user.name github-actions git config user.email github-actions@github.com