galaxy build - ignore existing MANIFEST and FILES (#76479) (#76498)

(cherry picked from commit 8482ee4e9a)
pull/76829/head
Jordan Borean 4 years ago committed by GitHub
parent 8519c3ecdd
commit d579286e2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,4 @@
bugfixes:
- >-
ansible-galaxy collection build - Ignore any existing ``MANIFEST.json`` and ``FILES.json`` in the root directory
when building a collection.

@ -931,6 +931,8 @@ def _build_files_manifest(b_collection_path, namespace, name, ignore_patterns):
# We always ignore .pyc and .retry files as well as some well known version control directories. The ignore
# patterns can be extended by the build_ignore key in galaxy.yml
b_ignore_patterns = [
b'MANIFEST.json',
b'FILES.json',
b'galaxy.yml',
b'galaxy.yaml',
b'.git',

Loading…
Cancel
Save