Make snapshot detection a bit more flexible.
Merge branch 'dev' of github.com:XavierTalpe/gradle-release-plugin into dev