Skip to content

Commit

Permalink
switch releasing to Evolution's jFrog (#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-git authored Sep 11, 2024
1 parent 524195d commit effc6fc
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 8 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
17 changes: 10 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ name := "random"

organization := "com.evolution"

homepage := Some(new URL("http://github.com/evolution-gaming/random"))
homepage := Some(url("https://github.com/evolution-gaming/random"))

startYear := Some(2019)

organizationName := "Evolution"

organizationHomepage := Some(url("http://evolution.com"))
organizationHomepage := Some(url("https://evolution.com"))

scalaVersion := crossScalaVersions.value.head

Expand Down Expand Up @@ -41,10 +41,6 @@ autoAPIMappings := true

licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT")))

sonatypeCredentialHost := "s01.oss.sonatype.org"

sonatypeRepository := "https://s01.oss.sonatype.org/service/local"

Test / publishArtifact := false

scmInfo := Some(
Expand All @@ -63,4 +59,11 @@ developers := List(
)
)

enablePlugins(GitVersioning)
publishTo := Some(Resolver.evolutionReleases)

releaseCrossBuild := true

//addCommandAlias("check", "all versionPolicyCheck Compile/doc")
addCommandAlias("check", "show version")
addCommandAlias("build", "+all compile test")

2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.8")

addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.9")

addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0")

addSbtPlugin("com.evolution" % "sbt-scalac-opts-plugin" % "0.0.9")

Expand Down
1 change: 1 addition & 0 deletions version.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ThisBuild / version := "1.0.5-SNAPSHOT"

0 comments on commit effc6fc

Please sign in to comment.