The pack build target creates an installable zip file from a test pack. The packWorkDir/build/testpack.archive.properties file controls the zip file generation. You can edit this file to:
Exclude files, such as artifacts of your source code control system