0.4.1: Fix the build definition.

This commit is contained in:
Pat Garrity 2026-07-20 21:43:53 -05:00
parent e2ce49aee7
commit 89bc3103c2
Signed by: pfm
GPG key ID: 0DC16BCA24B270C4

View file

@ -3,16 +3,17 @@ ThisBuild / organizationName := "garrity software"
ThisBuild / organization := "gs"
ThisBuild / versionScheme := Some("semver-spec")
/* externalResolvers := Seq( "Garrity Software Releases" at
* "https://maven.garrity.co/gs", "Garrity Software Maven Mirror" at
* "https://maven.garrity.co/releases" ) */
resolvers += Resolver.mavenLocal
externalResolvers := Seq(
"Garrity Software Releases" at
"https://maven.garrity.co/gs",
"Garrity Software Maven Mirror" at
"https://maven.garrity.co/releases"
)
val ProjectName: String = "sbt-gs-semver"
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 =
!CurrentVersion.contains("SNAPSHOT")
@ -23,18 +24,18 @@ lazy val publishSettings = Seq(
pomIncludeRepository := Function.const(false),
scmInfo := Some(
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"
)
),
description := Description,
licenses := List(
"MIT" -> url(
"MIT" -> uri(
s"https://git.garrity.co/garrity-software/$ProjectName/LICENSE"
)
),
homepage := Some(
url(s"https://git.garrity.co/garrity-software/$ProjectName")
uri(s"https://git.garrity.co/garrity-software/$ProjectName")
),
publishTo := {
val repo = "https://maven.garrity.co/"