chore: fix build blacklist
This commit is contained in:
+2
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user