Skip to content

Commit

Permalink
more build bits
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-drewery committed Dec 18, 2023
1 parent bb792cf commit 00e3c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
latestVersion=$(echo "$sortedList" | tail -n1)
echo "Latest version found: $latestVersion"
latestPatch=$(echo "$latestVersion" | awk -F'.' '{print $3}' | awk '{print $1}')
latestPatch=$(echo "$latestVersion" | grep -oP "\b\d+\.\d+\.\K\d+" | head -n1)
echo "Latest patch version extracted: $latestPatch"
if [ -z "$latestPatch" ]; then
Expand Down

0 comments on commit 00e3c21

Please sign in to comment.