chore: fix build blacklist

This commit is contained in:
calebboyd
2018-07-31 18:03:35 -05:00
parent 687c2e8cfc
commit 9190b0df77
+2 -1
View File
@@ -11,6 +11,7 @@ import {
} from './target'
export { NexeTarget }
const versionsToSkip = [0, 1, 2, 3, 4, 5, 7, 9, 11]
export interface GitAsset {
name: string
url: string
@@ -34,7 +35,7 @@ async function getJson<T>(url: string, options?: any) {
function isBuildableVersion(version: string) {
const major = +version.split('.')[0]
return !~[0, 1, 2, 3, 4, 5, 7, 8, 10].indexOf(major) || version === '4.8.4'
return !~versionsToSkip.indexOf(major) || version === '4.8.4'
}
export function getLatestGitRelease(options?: any) {