Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpack should only include files from the directory containing the nuspec #232

Closed
alanstevens opened this issue Apr 8, 2015 · 0 comments
Closed

Comments

@alanstevens
Copy link

Current behavior:
If my current directory contains the subirectories Package1, Package2 and Package3, and I execute cpack Pakage1\Package1.nuspec, the resulting nupkg contains all of the contents of my current directory including the folders Package1, Package2, Package3 and all of their contents.

Expected behavior:
The resulting nupkg should contain only the contents of the directory containing the nupkg file.

Note:
The previous behavior of the tool matched the expected behavior.

@ferventcoder ferventcoder added this to the 0.9.9.5 milestone Apr 8, 2015
@ferventcoder ferventcoder self-assigned this Apr 9, 2015
ferventcoder added a commit that referenced this issue Apr 11, 2015
Instead of starting at the current directory to use files for the nuspec, use
the nuspec directory as the starting path to look at files.
ferventcoder added a commit to ferventcoder/choco that referenced this issue Apr 11, 2015
* stable:
  (chocolateyGH-231) nupkg should be created in current directory
  (chocolateyGH-232) Pack includes files from nuspec directory
  (chocolateyGH-164) Fix "The path is not of a legal form"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants