Skip to content

sbt plugin for publishing semantically-versioned, binary-compatible artifacts to Maven/Sonatype from GitHub Actions

License

Notifications You must be signed in to change notification settings

Mike-Miller/sbt-typelevel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbt-typelevel sbt-typelevel Scala version support

sbt-typelevel helps Scala projects to publish early-semantically-versioned, binary-compatible artifacts to Sonatype/Maven from GitHub actions. It is a collection of plugins that work well individually and even better together.

Quick start

// Pick one, for project/plugins.sbt

// Full service, batteries-included, let's go!
addSbtPlugin("org.typelevel" % "sbt-typelevel" % "<version>")

// Set me up for CI release, but don't touch my scalacOptions!
addSbtPlugin("org.typelevel" % "sbt-typelevel-ci-release" % "<version>")

// Then, in your build.sbt
ThisBuild / tlBaseVersion := "0.4" // your current series x.y
ThisBuild / developers +=
  tlGitHubDev("armanbilge", "Arman Bilge") // your GitHub handle and name

Then, on GitHub set the following secrets on your repository:

  • SONATYPE_USERNAME and SONATYPE_PASSWORD
  • PGP_SECRET: output of gpg --armor --export-secret-keys $LONG_ID | base64
  • PGP_PASSPHRASE (optional, use only if your key is passphrase-protected)

Visit https://typelevel.org/sbt-typelevel for detailed documentation.

About

sbt plugin for publishing semantically-versioned, binary-compatible artifacts to Maven/Sonatype from GitHub Actions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Scala 100.0%