Skip to content

Commit

Permalink
chore: add npm provenance
Browse files Browse the repository at this point in the history
  • Loading branch information
hugo-vrijswijk committed Jun 29, 2023
1 parent fc550a7 commit 8f8b7a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ lazy val publishNpmLatest = taskKey[Unit]("Publish to npm with latest tag")
publishNpmLatest := runNpmPublish("latest")

def runNpmPublish(tag: String): Unit = {
val command = Seq("npm", "publish", "--tag", tag)
val command = Seq("npm", "publish", "--provenance", "--tag", tag)
val os = sys.props("os.name").toLowerCase
val panderToWindows = os match {
case n if n contains "windows" => Seq("cmd", "/C") ++ command
Expand Down

0 comments on commit 8f8b7a1

Please sign in to comment.