177178179180181182183184185186187
switch (incrementNumber) { case major: artifactVersion.incrementMajorVersion(); break; case minor: artifactVersion.incrementMinorVersion(); break; case incremental: artifactVersion.incrementIncrementalVersion(); break; default:
183184185186187188189190191192193
break; case incremental: artifactVersion.incrementIncrementalVersion(); break; default: artifactVersion.incrementMinorVersion(); break; } version = artifactVersion.toString(); title("Preparing SNAPSHOT", version);