Skip to content

Commit a12e403

Browse files
committed
build.sbt: make Universal .zip build ignore formats/.git* paths
Fix kaitai-io/kaitai_struct#851 and make sure it can't happen again.
1 parent 254cd2c commit a12e403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ lazy val compiler = crossProject.in(file(".")).
8585
val dstFile = new File(dst)
8686
val dstFileName = dstFile.getName
8787
dst.startsWith(s"formats${File.separator}_") ||
88-
dstFileName == ".git" ||
88+
dst.startsWith(s"formats${File.separator}.git") ||
8989
dstFileName.endsWith("~") ||
9090
dstFileName.endsWith("#")
9191
},

0 commit comments

Comments
 (0)