Skip to content

Conversation

@billytrend-cohere
Copy link
Collaborator

@billytrend-cohere billytrend-cohere commented Aug 29, 2025

Description

This PR updates the create-releases.ts and create-sdk-releases.yml files. The changes introduce a dry run feature, which allows the user to preview the release process without actually creating a release. This is achieved by adding a dry_run option to the version input, and by modifying the runFernGenerate function to include a --preview flag when the dry_run or FERN_PREVIEW environment variable is set to 'true'.

Changes

  • The create-sdk-releases.yml file has been updated to include a dry_run option in the version input, allowing users to preview the release process without creating a release.
  • The runFernGenerate function in the create-releases.ts file has been modified to include a --preview flag when the dry_run or FERN_PREVIEW environment variable is set to 'true'.
  • The createRelease function in the create-releases.ts file has been updated to skip the creation of a GitHub release when the dry_run or FERN_PREVIEW environment variable is set to 'true'.
  • The getJavaVersion function in the create-releases.ts file has been refactored to use multiple fallback query patterns and handle errors more gracefully.

@github-actions
Copy link

@github-actions
Copy link

@github-actions
Copy link

@github-actions
Copy link

@billytrend-cohere billytrend-cohere marked this pull request as ready for review August 29, 2025 14:36
@billytrend-cohere billytrend-cohere requested a review from a team as a code owner August 29, 2025 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants