Skip to content
Permalink
Browse files

add up to ignore whitelist by default

for CI, make sure we never upload Up itself
  • Loading branch information...
tj committed Apr 17, 2018
1 parent 3345e4c commit ad1102de68919062c448b51acf72c9fcef9966a7
Showing with 1 addition and 1 deletion.
  1. +1 −1 internal/zip/zip.go
@@ -37,7 +37,7 @@ func Build(dir string) (io.ReadCloser, *archive.Stats, error) {
strings.NewReader(".*\n"),
strings.NewReader("\n!node_modules/**\n!.pypath/**\n"),
upignore,
strings.NewReader("\n!main\n!server\n!_proxy.js\n!byline.js\n!up.json\n!pom.xml\n!build.gradle\n!project.clj\ngin-bin\n"))
strings.NewReader("\n!main\n!server\n!_proxy.js\n!byline.js\n!up.json\n!pom.xml\n!build.gradle\n!project.clj\ngin-bin\nup\n"))

filter, err := archive.FilterPatterns(r)
if err != nil {

0 comments on commit ad1102d

Please sign in to comment.
You can’t perform that action at this time.