1 parent 495d4ca commit 1e39769Copy full SHA for 1e39769
1 file changed
install.sh
@@ -72,9 +72,11 @@ is_release_ref() {
72
}
73
74
resolve_latest_tag() {
75
- curl -fsSL "https://api.github.com/repos/${GITHUB_REPO}/releases/latest" 2>/dev/null |
76
- sed -n 's/.*"tag_name"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p' |
77
- head -n1 || true
+ {
+ curl -fsSL "https://api.github.com/repos/${GITHUB_REPO}/releases/latest" 2>/dev/null |
+ sed -n 's/.*"tag_name"[[:space:]]*:[[:space:]]*"\([^"]*\)".*/\1/p' |
78
+ head -n1
79
+ } || true
80
81
82
parse_args() {
0 commit comments