Bug 1620854 - Tarball generation should also exclude git files. r=froydnj
authorIan Neal <iann_cvs@blueyonder.co.uk>
Sun, 08 Mar 2020 19:12:35 +0000
changeset 517479 671bdfb7cb9fc97ec83961c86b9e10683ad04e65
parent 517478 ea51105596e88a44596aeb06eb4223af9ab4b8aa
child 517480 cfca069fc4b2fd4c6ab406fb5b513ffab3c2e07e
push id37194
push usershindli@mozilla.com
push dateMon, 09 Mar 2020 03:45:29 +0000
treeherdermozilla-central@2540a369a5a8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersfroydnj
bugs1620854
milestone75.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1620854 - Tarball generation should also exclude git files. r=froydnj Differential Revision: https://phabricator.services.mozilla.com/D65906
toolkit/mozapps/installer/upload-files.mk
--- a/toolkit/mozapps/installer/upload-files.mk
+++ b/toolkit/mozapps/installer/upload-files.mk
@@ -424,16 +424,17 @@ endif
 
 ifndef MOZ_PKG_SRCDIR
   MOZ_PKG_SRCDIR = $(topsrcdir)
 endif
 
 SRC_TAR_PREFIX = $(MOZ_APP_NAME)-$(MOZ_PKG_VERSION)
 SRC_TAR_EXCLUDE_PATHS += \
   --exclude='.hg*' \
+  --exclude='.git*' \
   --exclude='CVS' \
   --exclude='.cvs*' \
   --exclude='.mozconfig*' \
   --exclude='*.pyc' \
   --exclude='$(MOZILLA_DIR)/Makefile' \
   --exclude='$(MOZILLA_DIR)/dist'
 ifdef MOZ_OBJDIR
   SRC_TAR_EXCLUDE_PATHS += --exclude='$(MOZ_OBJDIR)'