#!/bin/bash

NAME=`pwd | xargs basename`
TAG=$1

cd ..
zip -r  ${NAME}-${TAG}.zip ${NAME} -x "*release.sh*" "*git_push.sh*" "*svn_push.sh*" "*.DS_Store*" "*__MACOSX*" "*.git*" "*.gitignore*" "*.wp-env.json*" "*.svn*" "*node_modules*"
cd ${NAME}