-
Notifications
You must be signed in to change notification settings - Fork 8
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
Remove non-code files from release archive #25
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea! LGTM!
how is this created? the literal releases that are generated? if so, we should make it clear somewhere, like the README, that the release doesn't include these things. otherwise, folks may download the latest release, hoping to try out the example, and get confused about why it's not there. |
@cyle Good point: I updated the documentation to mention that. |
@@ -54,7 +54,7 @@ As an example of how to use StreamBuilder, we will implement an endpoint to retr | |||
|
|||
Let's also assume the returned array is a simple `string[]` which contains trending topics as strings. | |||
|
|||
We also have an example demo application in the `example/` folder which implements a lot of what we're going to discuss here -- so check that out! | |||
We also have an example demo application in the `example/` folder which implements a lot of what we're going to discuss here -- so check that out! You must clone the Git repository to work with the example, as released archives do not include example code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
awesome. mind adding this somewhere prominent in the example/README.md
file as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in both places 👍
See: #24
What and why? 🤔
To avoid problems such as in #24 let's exclude all non-library files (examples, tests, plumbing) from the final release archive.
Testing Steps ✍️
git archive --format=tar HEAD | tar t
should get you a list of included files, which should not include tests and examples.For a summary, see:
You're it! 👑
@Automattic/stream-builders