Skip to content

Commit

Permalink
+extract version
Browse files Browse the repository at this point in the history
  • Loading branch information
Bromeon committed May 5, 2024
1 parent bd48b43 commit ae6b5e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/composite/godot-itest/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ runs:
# sed -i'' needed for macOS compatibility, see https://stackoverflow.com/q/4247068
run: |
# Find the godot4-prebuilt version that gdext currently depends on.
defaultVersion=$(grep 'godot4-prebuilt = {' godot-bindings/Cargo.toml | sed -n 's/.*branch = "\([^"]*\)".*/\1/p')
defaultVersion=$(grep '^default =' "godot-bindings/Cargo.toml" | sed -n 's/.*prebuilt-\([0-9]*-[0-9]*\).*/\1/p' | tr '-' '.')
if [ -z "$defaultVersion" ]; then
echo "::error::prebuilt version not found or format is incorrect."
exit 1
Expand Down

0 comments on commit ae6b5e2

Please sign in to comment.