From 2f280c9edd8e694b63625d251a20df04f7a337ae Mon Sep 17 00:00:00 2001 From: rugk Date: Fri, 20 Mar 2020 16:46:54 +0100 Subject: [PATCH] Exclude GitHub metadata dir from build --- scripts/make.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/make.sh b/scripts/make.sh index 0d5dae6..2175aa2 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -2,7 +2,7 @@ # # Makes a release ZIP of the add-on. # -# IMPORTANT: This is only useful for building release versions of the add-on. +# IMPORTANT: This is only useful for building release versions of the add-on. # For development, please rather follow the guidance in the contributing doc. # @@ -24,7 +24,8 @@ zip -r -FS "../build/$EXTENSION_NAME.xpi" ./* -x "tests/*" -x "**/tests/*" \ -x "examples/*" -x "**/examples/*" -x "**/*.example" \ -x "**/README.md" -x "**/CONTRIBUTING.md" -x "**/manifest.json" \ -x "**/.git" -x "**/.gitignore" -x "**/.gitmodules" -x "**/.eslintrc" \ - -x "**/.editorconfig" + -x "**/.editorconfig" \ + -x "**/.github/*" # revert changes mv LICENSE.md ../LICENSE.md