feather/bin/build-zip.sh
2017-05-13 11:30:06 -07:00

8 lines
215 B
Bash
Executable File

#!/usr/bin/env bash
# find and store current version number
version=$(grep '"version"' package.json | cut -d '"' -f4)
# compress 'icons' directory into feather-[version].zip
zip -r feather-${version}.zip ./icons/