Skip to content

Commit 4d594fa

Browse files
committed
chore: add dynver plugin
1 parent eade37e commit 4d594fa

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

build.sbt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@ import Dependencies._
22

33
Global / scalaVersion := "2.13.8"
44

5-
val libVersion = "0.1.2-SNAPSHOT"
6-
75
def publishSettings(projectName: String) = Seq(
86
publish / skip := false,
9-
version := libVersion,
107
name := projectName,
118
versionScheme := Some("early-semver"),
12-
credentials += Credentials("GitHub Package Registry", "maven.pkg.github.com", "tusharmath", sys.env("GITHUB_TOKEN")),
139
publishTo := Some("GitHub Package Registry" at s"https://maven.pkg.github.com/tusharmath/zio-compose"),
10+
credentials += Credentials("GitHub Package Registry", "maven.pkg.github.com", "tusharmath", sys.env("GITHUB_TOKEN")),
1411
)
1512

1613
// Projects

project/plugins.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.10.1")
22
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")
33
addSbtPlugin("com.codecommit" % "sbt-github-actions" % "0.14.2")
4+
addSbtPlugin("com.dwijnand" % "sbt-dynver" % "4.1.1")

0 commit comments

Comments
 (0)