@W-20839284 Expose --generate-dev-zip parameter to sf package version create CLI command#1117
Merged
iowillhoit merged 3 commits intomainfrom Feb 5, 2026
Conversation
Contributor
jshackell-sfdc
left a comment
There was a problem hiding this comment.
See my suggestions.
Contributor
|
Could you add a NUT test that confirms that the zip is received from the API and written to the correct directory? |
chore: update snapshot chore: add flag in correct place of command-snapshot chore: correct placement of flag chore: move flag to version:create flags chore: update docs from TW feedback chore: remove description prop from flag test: nut for create version with flag and md retrieve test: use packageId instead of name for version creation test: try NUTS again after packaging changes merged test: use existing managed package for --generate-pkg-zip test chore: update dependencies test: establish auth with TestSession first test: add debugging log to see if flag set on request test: fix package name for CI dh
9885ca2 to
039814e
Compare
iowillhoit
approved these changes
Feb 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
This PR is part of a work item that exposes the Package2VersionCreateRequest.IsDevUsePkgZipRequested field through the CLI. In this repo, the main work was adding the flag to the version create command, so users can generate native 2GP versions with the dev zips generated. They can retrieve them using
sf package version retrieve.What issues does this PR fix or reference?
See @W-20839284@