You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 13, 2025. It is now read-only.
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\**\*.*"
The
--includefunction ofocto packdoes 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\**\*.*"