Skip to content

Commit

Permalink
🧹 improve provider release version detect (#4144)
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan Milchev <[email protected]>
  • Loading branch information
imilchev authored May 30, 2024
1 parent 23431c4 commit 4780dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/providers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
continue
fi
cd providers/$p
REPO_VERSION=$(grep Version config/config.go | cut -f2 -d\")
REPO_VERSION=$(grep Version: config/config.go | cut -f2 -d\")
STATUS_CODE=$(curl -s -o /dev/null -I -w "%{http_code}" https://releases.mondoo.com/providers/${p}/latest.json)
if [ "$STATUS_CODE" -eq "404" ]; then
DIST_VERSION="unreleased"
Expand Down

0 comments on commit 4780dc9

Please sign in to comment.