Skip to content

Commit

Permalink
fix(core): set prerelease on GitHub release API request (#19532)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry authored Oct 10, 2023
1 parent fe3f919 commit fce2c08
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/nx/src/command-line/release/utils/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,14 @@ export async function createOrUpdateGithubRelease(

async function syncGithubRelease(
githubRequestConfig: GithubRequestConfig,
release: { version: string; body: string },
release: { version: string; body: string; prerelease: boolean },
existingGithubReleaseForVersion?: GithubRelease
) {
const ghRelease: GithubRelease = {
tag_name: release.version,
name: release.version,
body: release.body,
prerelease: release.prerelease,
};

try {
Expand Down

0 comments on commit fce2c08

Please sign in to comment.