From fce2c081380465c937b91681afdc7f6edefa9d5c Mon Sep 17 00:00:00 2001 From: James Henry Date: Tue, 10 Oct 2023 19:37:51 +0400 Subject: [PATCH] fix(core): set prerelease on GitHub release API request (#19532) --- packages/nx/src/command-line/release/utils/github.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/nx/src/command-line/release/utils/github.ts b/packages/nx/src/command-line/release/utils/github.ts index 512bef90aaf5c..26011e566a303 100644 --- a/packages/nx/src/command-line/release/utils/github.ts +++ b/packages/nx/src/command-line/release/utils/github.ts @@ -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 {