Skip to content

Commit

Permalink
Add a changelog link to published pom.xml (#423)
Browse files Browse the repository at this point in the history
This information is used by Scala Steward in update pull requests.

Pull request: #423
  • Loading branch information
lefou authored Jan 3, 2023
1 parent 162c4ae commit 1d9ec8b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import $ivy.`com.github.lolgab::mill-mima::0.0.13`

// imports
import mill._
import mill.define.Target
import mill.scalalib._
import mill.scalalib.publish._
import mill.scalajslib._
Expand Down Expand Up @@ -59,7 +60,7 @@ trait CommonModule extends ScalaModule {
}


trait CommonPublishModule extends CommonModule with PublishModule with Mima with CrossScalaModule{
trait CommonPublishModule extends CommonModule with PublishModule with Mima with CrossScalaModule {

def publishVersion = VcsVersion.vcsState().format()
override def mimaPreviousVersions = Seq("2.0.0")
Expand All @@ -74,6 +75,10 @@ trait CommonPublishModule extends CommonModule with PublishModule with Mima with
Developer("lihaoyi", "Li Haoyi","https://github.com/lihaoyi")
)
)

override def publishProperties: Target[Map[String, String]] = super.publishProperties() ++ Map(
"info.releaseNotesURL" -> "https://com-lihaoyi.github.io/upickle/#VersionHistory"
)
override def versionScheme: T[Option[VersionScheme]] = T(Some(VersionScheme.SemVerSpec))
def templates = T.source(millSourcePath / "templates")
override def generatedSources = T{
Expand Down

0 comments on commit 1d9ec8b

Please sign in to comment.