Version 1.2.1

This commit is contained in:
Erik C. Thauvin 2023-10-01 20:26:21 -07:00
parent 1f1ece0956
commit 24b047ae1b
8 changed files with 29 additions and 27 deletions

View file

@ -53,7 +53,7 @@ public class SemverBuild extends Project {
public SemverBuild() {
pkg = "net.thauvin.erik";
name = "SemVer";
version = version(1, 2, 1, "SNAPSHOT");
version = version(1, 2, 1);
var description = "Semantic Version Annotation Processor";
var url = "https://github.com/ethauvin/semver";
@ -79,7 +79,7 @@ public class SemverBuild extends Project {
publishOperation()
.repository(version.isSnapshot() ? repository(SONATYPE_SNAPSHOTS_LEGACY.location())
.withCredentials(property("sonatype.user"), property("sonatype.password"))
: repository(SONATYPE_RELEASES.location())
: repository("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
.withCredentials(property("sonatype.user"), property("sonatype.password")))
.info(new PublishInfo()
.groupId(pkg)