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

octopus package create verbose output not very helpful #460

Open
janv8000 opened this issue Dec 13, 2024 · 0 comments
Open

octopus package create verbose output not very helpful #460

janv8000 opened this issue Dec 13, 2024 · 0 comments

Comments

@janv8000
Copy link

janv8000 commented Dec 13, 2024

The bug

Verbose output of the octopus package nuget create/octopus package zip create commands confuse source with destination?

I expect output to mention

  • Where is the tool gathering its input files
  • Where is the tool putting its results
  • What's the filename of the final created package

Command to reproduce

octopus package nuget create --id 'YOLO' --version '99.9.9' --base-path 'ExternalServices\bin\Release\net8.0\publish' --out-folder 'artifacts' --include '**' --verbose --overwrite --no-prompt

Actual outcome

Packing "YOLO" version "99.9.9"...
Saving "C:\BA\ExternalServicesCore\Wiv.ExternalServices\artifacts" to "YOLO.99.9.9.nupkg"...
Adding files from "C:\BA\ExternalServicesCore\Wiv.ExternalServices\artifacts" matching pattern/s "**"
Added file: web.config
Successfully created package artifacts\YOLO.99.9.9.nupkg

Improved outcome

Packing "YOLO" version "99.9.9"...
Saving "YOLO.99.9.9.nupkg" to "C:\BA\ExternalServicesCore\Wiv.ExternalServices\artifacts"...
Adding files from "ExternalServices\bin\Release\net8.0\publish" matching pattern/s "**"
Added file: web.config
Successfully created package artifacts\YOLO.99.9.9.nupkg

Diff

Packing "YOLO" version "99.9.9"...
- Saving "C:\BA\ExternalServicesCore\Wiv.ExternalServices\artifacts" to "YOLO.99.9.9.nupkg"...
- Adding files from "C:\BA\ExternalServicesCore\Wiv.ExternalServices\artifacts" matching pattern/s "**"
+ Saving "YOLO.99.9.9.nupkg" to "C:\BA\ExternalServicesCore\Wiv.ExternalServices\artifacts"...
+ Adding files from "ExternalServices\bin\Release\net8.0\publish" matching pattern/s "**"
Added file: web.config
Successfully created package artifacts\YOLO.99.9.9.nupkg

Versions

cli: 2.14.0

Octopus Server: Not relevant

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

No branches or pull requests

1 participant