tablepress-pods/mkplugin.sh

6 lines
218 B
Bash
Raw Permalink Normal View History

verline=$(grep Version tablepress-pods.php)
cvline=${verline//[$'\t\r\n']}
destfile="tablepress-pods-${cvline#V*: }.zip"
echo "Writing $destfile..."
git archive HEAD --prefix=tablepress-pods/ --format=zip -o $destfile