strip 'SNAPSHOT' from version