feather/bin/build-zip.sh
2017-06-05 00:28:24 -07:00

8 lines
204 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.zip ./icons/