linux stables build
This commit is contained in:
parent
95e3b7cf1d
commit
e66168660a
|
@ -85,15 +85,10 @@ export const DataTable: FC<Props> = ({ columnHeaders, data }) => {
|
||||||
const isLatestStableLinuxRelease =
|
const isLatestStableLinuxRelease =
|
||||||
os === 'linux' &&
|
os === 'linux' &&
|
||||||
data
|
data
|
||||||
|
.slice(0, 12) // get latest build to filter on
|
||||||
.filter(
|
.filter(
|
||||||
(e: ReleaseData) => e.arch === '64-bit' && !e.release.url.includes('unstable')
|
(e: ReleaseData) => e.arch === '64-bit' && !e.release.url.includes('unstable')
|
||||||
)
|
).includes(r)
|
||||||
.every((elem: ReleaseData) => {
|
|
||||||
console.log('release:', r);
|
|
||||||
console.log('elem:', elem);
|
|
||||||
|
|
||||||
return new Date(r.published) >= new Date(elem.published);
|
|
||||||
});
|
|
||||||
|
|
||||||
const x = data.filter((e: ReleaseData, _: any, array: any) => {
|
const x = data.filter((e: ReleaseData, _: any, array: any) => {
|
||||||
const maxDate = array
|
const maxDate = array
|
||||||
|
|
Loading…
Reference in New Issue