feather/bin/build.sh
2017-05-12 21:35:13 -07:00

7 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/*