Skip to content

Commit

Permalink
fix alpha release
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdowellster committed Sep 28, 2023
1 parent 787d810 commit 65d9322
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_gl_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]
Expand Down

0 comments on commit 65d9322

Please sign in to comment.