From daaff1d2d7ff73a675b6cc5493513489a685f118 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Sowa?= Date: Mon, 14 Oct 2024 20:37:23 +0200 Subject: [PATCH] semver in build.sbt --- build.sbt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sbt b/build.sbt index f54966a..6471bd0 100644 --- a/build.sbt +++ b/build.sbt @@ -6,12 +6,13 @@ val supportedScalaVersions = Seq(scala_2_13, scala_3) ThisBuild / crossScalaVersions := supportedScalaVersions ThisBuild / scalaVersion := mainScalaVersion +ThisBuild / versionScheme := Some("early-semver") ThisBuild / githubWorkflowJavaVersions := Seq(JavaSpec.temurin("11"), JavaSpec.temurin("17")) ThisBuild / githubWorkflowPublishTargetBranches := Seq(RefPredicate.StartsWith(Ref.Tag("v")), RefPredicate.Equals(Ref.Branch("master"))) ThisBuild / tlBaseVersion := "0.4" ThisBuild / tlCiHeaderCheck := false -ThisBuild / tlSonatypeUseLegacyHost := true +ThisBuild / sonatypeCredentialHost := xerial.sbt.Sonatype.sonatypeLegacy lazy val noPublishSettings = Seq(