Skip to content

Commit

Permalink
Merge pull request #97 from eed3si9n/wip/readme
Browse files Browse the repository at this point in the history
ci: Update publishing info
  • Loading branch information
eed3si9n authored Nov 8, 2024
2 parents e2f1371 + 6f833e6 commit e269133
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
exclude:
- java: temurin@8
os: macos-latest
- java: temurin@17
os: windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: Ignore line ending differences in git
Expand Down
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

![Scala CI](https://github.com/flyway/flyway-sbt/workflows/Scala%20CI/badge.svg)
![CI](https://github.com/sbt/flyway-sbt/workflows/CI/badge.svg)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.davidmweber/flyway-sbt.svg)](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.github.davidmweber%22%20AND%20a%3A%22flyway-sbt%22)

## Sbt 1.x plugin for [Flyway](https://flywaydb.org)
Expand All @@ -12,11 +12,6 @@ version 4.2.1.
## Maintenance
This repository is a community project and not officially maintained by the Flyway Team at Redgate.
This project is looked after only by the open source community. Community Maintainers are people who have agreed to be contacted with queries for support and maintenance.
Community Maintainers:
- [@davidmweber](https://github.com/davidmweber)

If you would like to be named as an Community Maintainer, let us know via Twitter: https://twitter.com/flywaydb.


### Getting started
Adding Flyway to your build is very easy. First, update to your `project/plugin.sbt` file to include:
Expand Down Expand Up @@ -69,7 +64,7 @@ sbt scripted

Early adopters should just publish a clone or fork of this repository locally:
```bash
git clone https://github.com/flyway/flyway-sbt.git
git clone https://github.com/sbt/flyway-sbt.git
cd flyway-sbt
sbt publishLocal
```
18 changes: 15 additions & 3 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
val flywayVersion = "9.22.0"
lazy val repoSlug = "sbt/flyway-sbt"
lazy val flywayVersion = "9.22.0"

ThisBuild / organization := "com.github.sbt"
ThisBuild / version := {
Expand Down Expand Up @@ -40,10 +41,18 @@ lazy val root = (project in file ("."))
publishMavenStyle := true,
)

ThisBuild / description := "An sbt plugin for Flyway database migration"
ThisBuild / developers := List(
Developer(id="davidmweber", name="David Weber", email="[email protected]", url=url("https://davidmweber.github.io/flyway-sbt-docs/"))
)
ThisBuild / licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
ThisBuild / licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
ThisBuild / scmInfo := Some(
ScmInfo(
url(s"https://github.com/$repoSlug"),
s"scm:[email protected]:sbt/$repoSlug.git"
)
)
ThisBuild / homepage := Some(url(s"https://github.com/$repoSlug"))
ThisBuild / publishTo := sonatypePublishTo.value
ThisBuild / githubWorkflowBuild := Seq(WorkflowStep.Sbt(List("test", "scripted")))
ThisBuild / githubWorkflowTargetTags ++= Seq("v*")
Expand All @@ -66,4 +75,7 @@ ThisBuild / githubWorkflowJavaVersions := Seq(
JavaSpec.temurin("8"),
JavaSpec.temurin("17")
)
ThisBuild / githubWorkflowBuildMatrixExclusions += MatrixExclude(Map("java" -> "temurin@8", "os" -> "macos-latest"))
ThisBuild / githubWorkflowBuildMatrixExclusions ++= Seq(
MatrixExclude(Map("java" -> "temurin@8", "os" -> "macos-latest")),
MatrixExclude(Map("java" -> "temurin@17", "os" -> "windows-latest")),
)

0 comments on commit e269133

Please sign in to comment.