Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Commit

Permalink
preparing for deploying to sonatype.
Browse files Browse the repository at this point in the history
  • Loading branch information
kivikakk committed May 30, 2024
1 parent 3307441 commit 65922c4
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 4 deletions.
9 changes: 5 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / organization := "ee.hrzn"
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / homepage := Some(url("https://github.com/chryse-hdl/chryse"))
ThisBuild / version := "0.1.0-SNAPSHOT"
ThisBuild / versionScheme := Some("early-semver")
ThisBuild / homepage := Some(url("https://github.com/chryse-hdl/chryse"))
ThisBuild / organization := "ee.hrzn"
ThisBuild / organizationHomepage := Some(url("https://github.com/chryse-hdl"))

val chiselVersion = "6.3.0"

Expand Down
2 changes: 2 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
logLevel := Level.Warn

addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.2.1")
32 changes: 32 additions & 0 deletions publish.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/chryse-hdl/chryse"),
"scm:[email protected]/chryse-hdl/chryse.git",
),
)

ThisBuild / developers := List(
Developer(
id = "kivikakk",
name = "Asherah Connor",
email = "[email protected]",
url = url("https://kivikakk.ee"),
),
)

ThisBuild / description := "Project framework for Chisel."
ThisBuild / licenses := List(
"Apache 2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"),
)

ThisBuild / pomIncludeRepository := { _ => false }

ThisBuild / publishTo := {
val nexus = "https://s01.oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots".at(nexus + "content/repositories/snapshots"))
else Some("releases".at(nexus + "service/local/staging/deploy/maven2"))
}
ThisBuild / publishMavenStyle := true

usePgpKeyHex("4ADC6C1E368DB976CCAF886B0D22B80CB8F0D344")

0 comments on commit 65922c4

Please sign in to comment.