Skip to content

@W-20839284 Expose --generate-dev-zip parameter to sf package version create CLI command#1117

Merged
iowillhoit merged 3 commits intomainfrom
t/2gp-readiness/w-20839284/is-dev-use-pkg-zip-requested-flag
Feb 5, 2026
Merged

@W-20839284 Expose --generate-dev-zip parameter to sf package version create CLI command#1117
iowillhoit merged 3 commits intomainfrom
t/2gp-readiness/w-20839284/is-dev-use-pkg-zip-requested-flag

Conversation

@ravipanguluri
Copy link
Collaborator

@ravipanguluri ravipanguluri commented Jan 29, 2026

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@

@ravipanguluri ravipanguluri requested a review from a team as a code owner January 29, 2026 17:52
@ravipanguluri ravipanguluri changed the title Expose --generate-dev-zip parameter to sf package version create CLI command @W-20839284 Expose --generate-dev-zip parameter to sf package version create CLI command Jan 29, 2026
Copy link
Contributor

@jshackell-sfdc jshackell-sfdc left a comment

Choose a reason for hiding this comment

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

See my suggestions.

@iowillhoit
Copy link
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
@ravipanguluri ravipanguluri force-pushed the t/2gp-readiness/w-20839284/is-dev-use-pkg-zip-requested-flag branch from 9885ca2 to 039814e Compare February 5, 2026 22:37
@iowillhoit iowillhoit merged commit ba05d3a into main Feb 5, 2026
15 checks passed
@iowillhoit iowillhoit deleted the t/2gp-readiness/w-20839284/is-dev-use-pkg-zip-requested-flag branch February 5, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants