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 7a40092 commit dfa7c5aCopy full SHA for dfa7c5a
tools/scripts/fetch.sh
@@ -32,8 +32,8 @@ echo "Fetching versions from $versions_url"
32
curl --show-error --fail --silent -o "${versions_file}" \
33
-H "Accept: application/json" "${versions_url}"
34
35
-# Remove "preview" from versions file if it exists and update the file
36
-jq 'map(select(. != "preview"))' < "./${versions_file}" > "./${versions_file}.tmp"
+# Remove "preview" and versions with ".upcoming" suffix from versions file and update the file
+jq 'map(select(. != "preview" and (endswith(".upcoming") | not)))' < "./${versions_file}" > "./${versions_file}.tmp"
37
mv "./${versions_file}.tmp" "./${versions_file}"
38
39
## Dynamic Versioned API Version
0 commit comments