Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch releasing to Evolution's jFrog #281

Merged
merged 1 commit into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: 7 additions & 10 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import sbt.librarymanagement.For3Use2_13
import Dependencies._
import org.scoverage.coveralls.Imports.CoverallsKeys._

def crossSettings[T](scalaVersion: String, if3: T, if2: T) = {
scalaVersion match {
Expand All @@ -13,13 +11,13 @@ name := "scache"

organization := "com.evolution"

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

startYear := Some(2019)

organizationName := "Evolution Gaming"
organizationName := "Evolution"

organizationHomepage := Some(url("http://evolutiongaming.com"))
organizationHomepage := Some(url("https://evolution.com"))
coverageExcludedFiles := ".*CacheOpsCompat.*"

scalaVersion := crossScalaVersions.value.head
Expand Down Expand Up @@ -65,10 +63,6 @@ licenses := Seq(("MIT", url("https://opensource.org/licenses/MIT")))

description := "Cache in Scala with cats-effect"

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

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

Test / publishArtifact := false

scmInfo := Some(
Expand All @@ -87,4 +81,7 @@ developers := List(
)
)

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

//addCommandAlias("check", "all versionPolicyCheck Compile/doc")
addCommandAlias("check", "show version")
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 := "5.1.3-SNAPSHOT"
Loading