Skip to content

Commit

Permalink
add release action
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-git committed Jul 18, 2024
1 parent b845961 commit 8285a6a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Publish new Release

on:
release:
types: [published]
branches: [master]

jobs:
release:
uses: evolution-gaming/scala-github-actions/.github/workflows/release.yml@v1
secrets: inherit
11 changes: 9 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ lazy val root = project
.in(file("."))
.settings(name := "stracer")
.settings(commonSettings)
.settings(alias)
.settings(publish / skip := true)
.aggregate(modules: _*)

Expand Down Expand Up @@ -53,13 +54,19 @@ lazy val `stracer-kafka` = project
val commonSettings = Seq(
description := "Library for distributed tracing in Scala",
organization := "com.evolutiongaming",
homepage := Some(new URL("http://github.com/evolution-gaming/stracer")),
homepage := Some(url("https://github.com/evolution-gaming/stracer")),
startYear := Some(2019),
organizationName := "Evolution",
organizationHomepage := Some(url("http://evolution.com")),
organizationHomepage := Some(url("https://evolution.com")),
scalaVersion := crossScalaVersions.value.head,
crossScalaVersions := Seq("2.13.7", "2.12.15"),
releaseCrossBuild := true,
licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT"))),
publishTo := Some(Resolver.evolutionReleases),
scalacOptsFailOnWarn := Some(false))

val alias: Seq[sbt.Def.Setting[?]] =
// addCommandAlias("check", "all versionPolicyCheck Compile/doc") ++
addCommandAlias("check", "show version") ++
addCommandAlias("build", "+all compile test")

0 comments on commit 8285a6a

Please sign in to comment.