if (artifactVersion.isSnapshot()) {
// update development snapshot info to release info
releaseVersion = artifactVersion.setSnapshot(false).toString();
} else {
// preserve major.minor.incremental, increment build number
releaseVersion = artifactVersion.incrementBuildNumber().toString();
}
title("Preparing RELEASE", releaseVersion);
version = releaseVersion;
releaseDate = buildDate;
releaseDateStr = buildDateStr;