Closed szepeviktor closed 2 months ago
💡 There is a safeguard for this problem. https://github.com/szepeviktor/byte-level-care/blob/61ca4439630a47d4e6946173a369270a4729bfb2/.github/workflows/reusable-integrity.yml#L160-L171
@szepeviktor Thanks for the pull request and linking to your workflow file.
The generated zip file contains a few files that are listed in the .gitignore
file. By default git archive
ignores these files, do you know if there is a method that will allow safe-svg to include these files when generating the zip file via git archive
?
The affected files are:
/dist
directory/vendor
directoryI've hit a few road-blocks trying to figure it out, so would value any input.
do you know if there is a method that will allow safe-svg to include these files
There is an option for that: https://git-scm.com/docs/git-archive#Documentation/git-archive.txt---add-fileltfilegt
BTW .gitignore is unrelated to .gitattributes
Isn't this covered by the .distignore
file?
Maybe. Composer uses GitHub ZIP, those are not affected by distignore.
Closing in favor of alternate handling of #97 in #220.
Resolves #97
Here is how to test.