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

don't include old packages in the .tgz #41

Merged
merged 3 commits into from Dec 7, 2018

Conversation

joscol
Copy link
Contributor

@joscol joscol commented Dec 6, 2018

The tarball for version 0.4.1 was huge because it included several old builds. More aggressive cleaning may be needed in the future, but this should work for now.

@vtbassmatt
Copy link
Member

Hmm, for whatever reason, those bogus .tgzs don't seem to exist in CI.

@joscol
Copy link
Contributor Author

joscol commented Dec 6, 2018

Hmm, for whatever reason, those bogus .tgzs don't seem to exist in CI.

It starts from a clean slate on the build machine. I'm trying figure out how to make deleting a file that doesn't exist not fail...

@vtbassmatt
Copy link
Member

shx -e I think.

@vtbassmatt
Copy link
Member

Also, if CI is able to build it cleanly, that might be good enough. Since we should only be shipping CI system outputs, not dev machine builds, right? 😉

@joscol
Copy link
Contributor Author

joscol commented Dec 6, 2018

shx -e I think.

Nope, -e isn't supported by rm, but looking through https://github.com/shelljs/shelljs/blob/master/src/rm.js is looks like -f (force) will suppress the error, oddly.

@joscol joscol merged commit 80d2ce1 into master Dec 7, 2018
@joscol joscol deleted the users/joscol/build_clean_history branch December 14, 2018 16:37
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

Successfully merging this pull request may close these issues.

None yet

2 participants