Added a dev only mode to the packaging script take2

This version will still build the regular package. It will not upload the regular package to the server however.
If you have `-dev` anywhere in your version it will assume you want dev only and will drop the debug. We don't build a dev package for debug versions anyway so it makes sense to not make a debug version.

`echo "foo-dbg-dev" | cut -d '-' -f 1` => `foo`
`echo "foo-dev-dbg" | cut -d '-' -f 1` => `foo`