Skip to content

Commit effc6fc

Browse files
authored
switch releasing to Evolution's jFrog (#165)
1 parent 524195d commit effc6fc

File tree

4 files changed

+23
-8
lines changed

4 files changed

+23
-8
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Publish new Release
2+
3+
on:
4+
release:
5+
types: [published]
6+
branches: [master]
7+
8+
jobs:
9+
release:
10+
uses: evolution-gaming/scala-github-actions/.github/workflows/release.yml@v1
11+
secrets: inherit

build.sbt

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ name := "random"
44

55
organization := "com.evolution"
66

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

99
startYear := Some(2019)
1010

1111
organizationName := "Evolution"
1212

13-
organizationHomepage := Some(url("http://evolution.com"))
13+
organizationHomepage := Some(url("https://evolution.com"))
1414

1515
scalaVersion := crossScalaVersions.value.head
1616

@@ -41,10 +41,6 @@ autoAPIMappings := true
4141

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

44-
sonatypeCredentialHost := "s01.oss.sonatype.org"
45-
46-
sonatypeRepository := "https://s01.oss.sonatype.org/service/local"
47-
4844
Test / publishArtifact := false
4945

5046
scmInfo := Some(
@@ -63,4 +59,11 @@ developers := List(
6359
)
6460
)
6561

66-
enablePlugins(GitVersioning)
62+
publishTo := Some(Resolver.evolutionReleases)
63+
64+
releaseCrossBuild := true
65+
66+
//addCommandAlias("check", "all versionPolicyCheck Compile/doc")
67+
addCommandAlias("check", "show version")
68+
addCommandAlias("build", "+all compile test")
69+

project/plugins.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.8")
22

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

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

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

version.sbt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ThisBuild / version := "1.0.5-SNAPSHOT"

0 commit comments

Comments
 (0)