0.4.1: Fix the build definition. #3

Merged
pfm merged 1 commit from fix-0.4.0 into main 2026-07-21 02:44:45 +00:00

View file

@ -3,16 +3,17 @@ ThisBuild / organizationName := "garrity software"
ThisBuild / organization := "gs" ThisBuild / organization := "gs"
ThisBuild / versionScheme := Some("semver-spec") ThisBuild / versionScheme := Some("semver-spec")
/* externalResolvers := Seq( "Garrity Software Releases" at externalResolvers := Seq(
* "https://maven.garrity.co/gs", "Garrity Software Maven Mirror" at "Garrity Software Releases" at
* "https://maven.garrity.co/releases" ) */ "https://maven.garrity.co/gs",
"Garrity Software Maven Mirror" at
resolvers += Resolver.mavenLocal "https://maven.garrity.co/releases"
)
val ProjectName: String = "sbt-gs-semver" val ProjectName: String = "sbt-gs-semver"
val Description: String = "SBT 2.0.0+ plugin for Git-based semantic versioning." val Description: String = "SBT 2.0.0+ plugin for Git-based semantic versioning."
val CurrentVersion: String = "0.4.0" val CurrentVersion: String = "0.4.1"
def isRelease(): Boolean = def isRelease(): Boolean =
!CurrentVersion.contains("SNAPSHOT") !CurrentVersion.contains("SNAPSHOT")
@ -23,18 +24,18 @@ lazy val publishSettings = Seq(
pomIncludeRepository := Function.const(false), pomIncludeRepository := Function.const(false),
scmInfo := Some( scmInfo := Some(
ScmInfo( ScmInfo(
url(s"https://git.garrity.co/garrity-software/$ProjectName"), uri(s"https://git.garrity.co/garrity-software/$ProjectName"),
s"git@git.garrity.co:garrity-software/$ProjectName.git" s"git@git.garrity.co:garrity-software/$ProjectName.git"
) )
), ),
description := Description, description := Description,
licenses := List( licenses := List(
"MIT" -> url( "MIT" -> uri(
s"https://git.garrity.co/garrity-software/$ProjectName/LICENSE" s"https://git.garrity.co/garrity-software/$ProjectName/LICENSE"
) )
), ),
homepage := Some( homepage := Some(
url(s"https://git.garrity.co/garrity-software/$ProjectName") uri(s"https://git.garrity.co/garrity-software/$ProjectName")
), ),
publishTo := { publishTo := {
val repo = "https://maven.garrity.co/" val repo = "https://maven.garrity.co/"