-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: removed unnecessary sbt options for publication
- Loading branch information
1 parent
1502f88
commit 1bb20f0
Showing
4 changed files
with
14 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
name: Release | ||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: [ master ] | ||
tags: [ "*" ] | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
environment: Deploy | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: olafurpg/setup-scala@v10 | ||
- uses: olafurpg/setup-gpg@v3 | ||
- uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- uses: olafurpg/setup-scala@v13 | ||
- name: Publish | ||
run: sbt ci-release | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,22 +7,15 @@ lazy val commonSettings = Seq( | |
scalafmtOnCompile := true, | ||
// Resolvers | ||
resolvers += Resolver.sonatypeRepo("public"), | ||
resolvers += Resolver.sonatypeRepo("snapshots"), | ||
// Publishing | ||
// Publication | ||
organization := "fr.valentin-henry", | ||
homepage := Some(url("https://github.com/valentinHenry/blaireau")), | ||
licenses ++= Seq(("MIT", url("http://opensource.org/licenses/MIT"))), | ||
homepage := Some(url("https://github.com/valentinHenry/blaireau")), | ||
developers := List( | ||
Developer("Firiath", "Valentin Henry", "[email protected]", url("https://valentin-henry.fr")) | ||
), | ||
publishTo := { | ||
val nexus = "https://s01.oss.sonatype.org/" | ||
if (isSnapshot.value) Some("snapshots".at(nexus + "content/repositories/snapshots")) | ||
else Some("releases".at(nexus + "service/local/staging/deploy/maven2")) | ||
}, | ||
publishMavenStyle := true, | ||
pomIncludeRepository := { _ => false }, | ||
versionScheme := Some("early-semver"), | ||
sonatypeCredentialHost := "s01.oss.sonatype.org", | ||
sonatypeRepository := "https://s01.oss.sonatype.org/service/local", | ||
// Headers | ||
headerMappings := headerMappings.value + (HeaderFileType.scala -> HeaderCommentStyle.cppStyleLineComment), | ||
headerLicense := Some( | ||
|
@@ -110,3 +103,5 @@ lazy val tests = project | |
.enablePlugins(AutomateHeaderPlugin) | ||
.enablePlugins(ScalafmtPlugin) | ||
.dependsOn(dsl, refined, newtype, circe) | ||
|
||
ThisBuild / versionScheme := Some("early-semver") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.