diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..d9b2706 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,10 @@ +# This add-on is deployed to a Linux container. core.autocrlf=true on the +# authoring box gave the checkout CRLF, so a plain copy shipped CRLF files - +# run.sh with CRLF is a "bad interpreter" failure, and any hash-based drift +# check between repo and deployment fails for a reason that has nothing to do +# with the code. Deploy with: +# git -c core.autocrlf=false archive release/1.0 goodwe_controller | tar -x +# which is how 0.3.0 went out, byte-identical to the blobs. +* text=auto eol=lf +*.png binary +*.gz binary