Skip to content
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
This repository was archived by the owner on Jun 13, 2025. It is now read-only.

--include function of octo pack does not include top level folder when using nupkg #179

@donnybell

Description

@donnybell

The --include function of octo pack does not include a top-level folder when using nupkg. However, when using zip, this behaves as expected and does include the top-level folder.

Example 1:
The command below will result in a zip file that includes FolderA and inside FolderA it will have contents
octo pack --id="TestOctoPack" --format="zip" --version="1.0.0" --basePath="C:\SomeFolder\" --include=".\FolderA\**\*.*"

Example 2:
The command below will result in a nupkg file that includes the contents of FolderA, not FolderA itself
octo pack --id="TestOctoPack" --format="nupkg" --version="1.0.0" --basePath="C:\SomeFolder\" --include=".\FolderA\**\*.*"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions