diff --git a/.gitattributes b/.gitattributes index e2b21a8d7..10520bf88 100644 --- a/.gitattributes +++ b/.gitattributes @@ -16,20 +16,22 @@ *.yml text # Ensure those won't be messed up with +*.phar binary *.png binary *.jpg binary *.gif binary *.ttf binary -# Ignore some meta files when creating an archive of this repository -/.github export-ignore -/.editorconfig export-ignore -/.gitattributes export-ignore -/.gitignore export-ignore -/phpunit.xml.dist export-ignore -/docs export-ignore +# Exclude development and metadata files from distribution archive +* export-ignore +/src/ -export-ignore +/src/** -export-ignore +/.meta-storm.xml -export-ignore +/composer.json -export-ignore +/README.md -export-ignore +/CHANGELOG.md -export-ignore +/LICENSE.md -export-ignore # Avoid merge conflicts in CHANGELOG # https://about.gitlab.com/2015/02/10/gitlab-reduced-merge-conflicts-by-90-percent-with-changelog-placeholders/ /CHANGELOG.md merge=union - diff --git a/CHANGELOG.md b/CHANGELOG.md index c8c3af159..a107aee78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 1.0.1 under development - Bug #527: Fix PHPDoc tags `@see` (@mspirkov) +- Enh #532: Remove unnecessary files from Composer package (@mspirkov) ## 1.0.0 December 09, 2025