fix: version detection for ArgoCD and ente
This commit is contained in:
parent
3db50d5d82
commit
83925c636a
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ jobs:
|
|||
|
||||
- name: Check latest ArgoCD tag
|
||||
run: |
|
||||
echo "ARGOCD_VERSION=$(gh release list -R argoproj/argo-cd --exclude-pre-releases --exclude-drafts --json 'tagName' --jq '.[].tagName' --limit 1)" >> "$GITHUB_ENV"
|
||||
echo "ARGOCD_VERSION=$(gh release list -R argoproj/argo-cd --exclude-pre-releases --exclude-drafts --json 'tagName' --jq '.[].tagName' --limit 10 | sort -t. -k 1,1nr -k 2,2nr -k 3,3nr -k 4,4nr | head -n 1)" >> "$GITHUB_ENV"
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }}
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ jobs:
|
|||
|
||||
- name: Fetch latest ente photos tag
|
||||
run: |
|
||||
echo "ENTE_PHOTOS_VERSION=$(gh release list -R ente-io/ente --exclude-pre-releases --exclude-drafts --jq '.[] | select(.tagName | startswith("photos")) | .tagName' --json 'tagName' --limit 1)" >> "$GITHUB_ENV"
|
||||
echo "ENTE_PHOTOS_VERSION=$(gh release list -R ente-io/ente --exclude-pre-releases --exclude-drafts --jq '.[] | select(.tagName | startswith("photos")) | .tagName' --json 'tagName' --limit 10 | head -n 1)" >> "$GITHUB_ENV"
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue