Fix sonatype SNAPSHOT deployment
Fix sonatype SNAPSHOT deployment

by changing the secret SONATYPE_PASSWORD.

Also change deploy to be not run via `after_success` but directly
in `script`, since a failure would be silently ignored in `after_success`.

Additionally add a guard for the deployment to check if the current
version is a SNAPSHOT.

EsotericSoftware/kryo,EsotericSoftware/kryo,EsotericSoftware/kryo,EsotericSoftware/kryo