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

[Feature] Include a root folder in released .zips (Opening package litters download folder.) #1249

Open
helgihg opened this issue Mar 2, 2023 · 1 comment

Comments

@helgihg
Copy link

helgihg commented Mar 2, 2023

When the released package is opened after being downloaded, it places the package's contents in the download folder itself, next to anything else that happens to be in the download folder. This requires the user to manually identify files that belong to the package and move them somewhere else.

The solution is to release packages containing a single directory that contains all of the contents that come in the package.

@rnwood
Copy link
Owner

rnwood commented Feb 25, 2024

Personally, I always the option to expand to a new folder where the name of the new folder matches the zip file - 7zip, but I can see how this might be annoying for tools that don't offer that.

I am open to a PR for this one.
Currently the zip file is made using the zipAfterPublish (default) of this task when publishing:
https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/dotnet-core-cli-v2?view=azure-pipelines

This would need to be modified so that this task doesn't create the zip and then the zip is created separately with the intermediate folder that is needed here.

@rnwood rnwood changed the title Opening package litters download folder. [Feature] Include a root folder in released .zips (Opening package litters download folder.) Feb 25, 2024
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

2 participants