Skip to content

Exclude singular test directory from release ZIPs #419

@georgeolaru

Description

@georgeolaru

Summary

Release builds currently ship the repo's test/ fixtures inside the production theme ZIP.

Root cause

The packaging pipeline removes files listed in .zipignore, but that file only excludes tests/ and Tests/. Anima's current test suite lives in test/, so gulp build:folder copies those files into ../build/anima/ and leaves them in the final archive.

Expected behavior

Release ZIPs should exclude all development-only test files and directories, including the singular test/ path used by this repo.

Verification

  • unzip -l ../Anima-X-Y-Z.zip | grep "/test/" returns no matches
  • Diffing against the previous release no longer shows newly shipped test files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions