From d1c214d8254ff3231d3c03a34c99760586a41fc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mareks=20Ramp=C4=81ns?= <8796159+mr-git@users.noreply.github.com> Date: Thu, 18 Jul 2024 13:33:24 +0300 Subject: [PATCH] add release action --- .github/workflows/release.yml | 11 +++++++++++ build.sbt | 10 +++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..a8a2f2b --- /dev/null +++ b/.github/workflows/release.yml @@ -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 diff --git a/build.sbt b/build.sbt index f06c7e4..d6cba38 100644 --- a/build.sbt +++ b/build.sbt @@ -4,13 +4,13 @@ name := "pubsub" organization := "com.evolutiongaming" -homepage := Some(new URL("http://github.com/evolution-gaming/pubsub")) +homepage := Some(url("https://github.com/evolution-gaming/pubsub")) startYear := Some(2017) organizationName := "Evolution" -organizationHomepage := Some(url("http://evolution.com")) +organizationHomepage := Some(url("https://evolution.com")) scalaVersion := crossScalaVersions.value.head @@ -39,4 +39,8 @@ licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT"))) releaseCrossBuild := true -Compile / doc / scalacOptions ++= Seq("-groups", "-implicits", "-no-link-warnings") \ No newline at end of file +Compile / doc / scalacOptions ++= Seq("-groups", "-implicits", "-no-link-warnings") + +//addCommandAlias("check", "all versionPolicyCheck Compile/doc") +addCommandAlias("check", "show version") +addCommandAlias("build", "+all compile test")