Skip to content

Commit cbf21a0

Browse files
authored
fix(v2): missing os utility (#18072)
1 parent 79249de commit cbf21a0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ci3/os

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/usr/bin/env bash
2+
set -e
3+
case "$(uname -s)" in
4+
Linux) echo linux ;;
5+
Darwin) echo macos ;;
6+
*) echo "Unsupported OS: $(uname -s). Only linux and macos are supported." >&2; exit 1 ;;
7+
esac

0 commit comments

Comments
 (0)