Skip to content

Commit

Permalink
bump: Bump sbt 1.9.1 and add release notes url (#45)
Browse files Browse the repository at this point in the history
* bump: Bump sbt 1.9.1 and add release notes url

* Update build.sbt

Co-authored-by: Patrik Nordwall <patrik.nordwall@gmail.com>

* formatting

---------

Co-authored-by: Patrik Nordwall <patrik.nordwall@gmail.com>
  • Loading branch information
johanandren and patriknw authored Aug 16, 2023
1 parent aa873ed commit 4439a1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@ inThisBuild(
"Contributors",
"https://gitter.im/akka/dev",
url("https://github.com/akka/akka-diagnostics/graphs/contributors")),
releaseNotesURL := (
if (isSnapshot.value) None
else Some(url(s"https://github.com/akka/akka-diagnostics/releases/tag/v${version.value}"))
),
licenses := {
val tagOrBranch =
if (version.value.endsWith("SNAPSHOT")) "main"
if (isSnapshot.value) "main"
else "v" + version.value
Seq(("BUSL-1.1", url(s"https://raw.githubusercontent.com/akka/akka-diagnostics/${tagOrBranch}/LICENSE")))
},
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.7.2
sbt.version=1.9.1

0 comments on commit 4439a1a

Please sign in to comment.