One can use the `--exclude-vcs` switch to exclude files from version control system. Instead of `../${APP}-${VERSION}` i suggest `../$(basename $(pwd))` to make it independent of current directory name.