Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit ad62f90

Browse files
committed
Actually add draft property
1 parent c90aa70 commit ad62f90

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

packages/core/src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ export interface RestResponseRelease {
101101
name: string
102102
tag_name: string
103103
prerelease: boolean
104+
draft: boolean
104105
published_at: string
105106
html_url: string
106107
}

packages/core/src/util/scheme-mapper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export function release(obj: RestResponseRelease|undefined): ReleaseDescriptor|u
1515
name: obj.tag_name
1616
},
1717
isPrerelease: obj.prerelease,
18+
isDraft: obj.draft,
1819
publishedAt: obj.published_at,
1920
url: obj.html_url
2021
}

0 commit comments

Comments
 (0)