We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d986f6 commit 3b7536cCopy full SHA for 3b7536c
.github/scripts/version-compatibility.sh
@@ -20,6 +20,6 @@ ALL_RELEASES=$(gh release list \
20
--template '{{range .}}{{.name}}{{"\n"}}{{end}}'
21
)
22
MAJOR_MINOR=${TARGET_BRANCH#"release/"}
23
-MAJOR_MINOR_RELEASES=$(echo "${ALL_RELEASES}" | grep "${MAJOR_MINOR}")
+MAJOR_MINOR_RELEASES=$(echo "${ALL_RELEASES}" | (grep "${MAJOR_MINOR}" || true))
24
25
-echo "${MAJOR_MINOR_RELEASES}" | jq -cnR '[inputs] | map({version: .})'
+echo -n "${MAJOR_MINOR_RELEASES}" | jq -cnR '[inputs] | map({version: .})'
0 commit comments