From e099e5383dca0438826ede1027c0dc4cb5b8b716 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 12:57:10 +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 9c9c98a..175cb62 100644 --- a/build.sbt +++ b/build.sbt @@ -4,13 +4,13 @@ name := "conhub" organization := "com.evolutiongaming" -homepage := Some(new URL("http://github.com/evolution-gaming/conhub")) +homepage := Some(url("https://github.com/evolution-gaming/conhub")) startYear := Some(2018) organizationName := "Evolution" -organizationHomepage := Some(url("http://evolution.com")) +organizationHomepage := Some(url("https://evolution.com")) scalaVersion := crossScalaVersions.value.head @@ -44,4 +44,8 @@ releaseCrossBuild := true Compile / doc / scalacOptions ++= Seq("-groups", "-implicits", "-no-link-warnings") -versionScheme := Some("semver-spec") \ No newline at end of file +versionScheme := Some("semver-spec") + +//addCommandAlias("check", "all versionPolicyCheck Compile/doc") +addCommandAlias("check", "show version") +addCommandAlias("build", "+all compile test")