Skip to content

Support only publishing files added to git #23375

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

Closed
DartBot opened this issue May 4, 2015 · 3 comments
Closed

Support only publishing files added to git #23375

DartBot opened this issue May 4, 2015 · 3 comments
Labels
type-enhancement A request for a change that isn't a bug

Comments

@DartBot
Copy link

DartBot commented May 4, 2015

This issue was originally filed by @Pajn


When running pub publish it wants to publish all files inside the project, it would be great with a flag to only publish files that are added to the git repository.

This is to avoid publishing build files, work-in-progress, caches or other similar stuff.

@floitschG
Copy link
Contributor

Added Area-Pub, Triaged labels.

@DartBot
Copy link
Author

DartBot commented May 5, 2015

This comment was originally written by @mezoni


The ".pubignore" is not the same thing?
Why only git?
I think that ".pubignore" should be more important than ".gitignore".

@DartBot
Copy link
Author

DartBot commented Jun 4, 2015

This issue has been moved to dart-lang/pub#17.

@DartBot DartBot closed this as completed Jun 4, 2015
@kevmoo kevmoo added type-enhancement A request for a change that isn't a bug and removed triaged labels Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

3 participants