mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Issue-#921: Include pre-release
This commit is contained in:
parent
a29bb84583
commit
c7f1b0ffef
@ -193,10 +193,7 @@ exports.createPages = ({ graphql, actions }) => {
|
||||
// API: ocean.js
|
||||
const lastRelease =
|
||||
result.data.oceanJs.repository.releases.edges.filter(
|
||||
({ node }) =>
|
||||
!node.isPrerelease &&
|
||||
!node.isDraft &&
|
||||
node.releaseAssets.edges.length > 0
|
||||
({ node }) => !node.isDraft && node.releaseAssets.edges.length > 0
|
||||
)[0].node.releaseAssets.edges[0].node
|
||||
|
||||
await createTypeDocPage(
|
||||
|
Loading…
x
Reference in New Issue
Block a user