Skip to content

Fix release build issues #905

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 22, 2025
Merged

Fix release build issues #905

merged 4 commits into from
May 22, 2025

Conversation

jakebailey
Copy link
Member

No description provided.

Verified

This commit was signed with the committer’s verified signature. The key has expired.
andrewbranch Andrew Branch

Verified

This commit was signed with the committer’s verified signature. The key has expired.
andrewbranch Andrew Branch
@Copilot Copilot AI review requested due to automatic review settings May 22, 2025 00:24
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request fixes release build issues by updating package publishing configuration and enforcing prerelease parameters for release builds.

  • Updated package.json to include a publish configuration with public access.
  • Added prerelease parameter validation and version formatting logic in Herebyfile.mjs.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
_packages/native-preview/package.json Added publishConfig to set npm access as public.
Herebyfile.mjs Added release flag validation and version formatting.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
if (options.forRelease) {
// No real semver prerelease versioning.
// https://code.visualstudio.com/api/working-with-extensions/publishing-extension#prerelease-extensions
assert(options.setPrerelease, "forRelease is true but setPrerelease is not set");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be clear this is obviously temporary and any stable release would not do this

@jakebailey jakebailey added this pull request to the merge queue May 22, 2025
Merged via the queue into main with commit 63a2365 May 22, 2025
23 checks passed
@jakebailey jakebailey deleted the jabaile/native-preview-fixup branch May 22, 2025 18:49
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.

None yet

4 participants