Skip to content

Fix package version create Request#782

Merged
cwarden merged 1 commit into
ForceCLI:masterfrom
cwarden:fix-package-version-create
Jun 19, 2026
Merged

Fix package version create Request#782
cwarden merged 1 commit into
ForceCLI:masterfrom
cwarden:fix-package-version-create

Conversation

@cwarden

@cwarden cwarden commented Jun 17, 2026

Copy link
Copy Markdown
Member
  • Resolve a Subscriber Package Version (04t) ancestor to its
    Package2Version (05i) ID, which the descriptor's ancestorId requires.

  • Include CalcTransitiveDependencies and IsDevUsePkgZipRequested
    (both false for now) in the Package2VersionCreateRequest.

  • Write zero-length directory entries in package.zip to mirror the
    layout the sf CLI produces.

  • Add an (empty) Profile type to package.xml, re-marshaling so the
    Profile element is ordered before .

Extract the manifest and zip-directory logic into testable helpers and
cover them with tests.

- Resolve a Subscriber Package Version (04t) ancestor to its
  Package2Version (05i) ID, which the descriptor's ancestorId requires.

- Include CalcTransitiveDependencies and IsDevUsePkgZipRequested
  (both false for now) in the Package2VersionCreateRequest.

- Write zero-length directory entries in package.zip to mirror the
  layout the sf CLI produces.

- Add an (empty) Profile type to package.xml, re-marshaling so the
  Profile <types> element is ordered before <version>.

Extract the manifest and zip-directory logic into testable helpers and
cover them with tests.
@cwarden cwarden merged commit 6336b03 into ForceCLI:master Jun 19, 2026
2 checks passed
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.

1 participant