Skip to content

Commit

Permalink
Prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
ennru committed Jan 30, 2024
1 parent fac4b28 commit cf2d13c
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 18 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12.17]
scala: [2.12.18]
java: [temurin@11, temurin@17]
runs-on: ${{ matrix.os }}
steps:
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
scala: [2.12.17]
scala: [2.12.18]
java: [temurin@11]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -94,12 +94,12 @@ jobs:
java-version: 17
cache: sbt

- name: Download target directories (2.12.17)
- name: Download target directories (2.12.18)
uses: actions/download-artifact@v4
with:
name: target-${{ matrix.os }}-2.12.17-${{ matrix.java }}
name: target-${{ matrix.os }}-2.12.18-${{ matrix.java }}

- name: Inflate target directories (2.12.17)
- name: Inflate target directories (2.12.18)
run: |
tar xf targets.tar
rm targets.tar
Expand Down
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,3 @@ addSbtPlugin("com.lightbend.lightbend" % "sbt-paradox-lightbend-project-info" %
```

Since this is an auto-plugin that automatically triggers its already enabled when you include it as a dependency.

## Releasing

- Tag the commit you want to release and push it
- Github actions should automatically release
to [maven-central](https://maven-badges.herokuapp.com/maven-central/com.lightbend.paradox/sbt-paradox-lightbend-project-info)
5 changes: 5 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Releasing

* Draft a [new release on GitHub](https://github.com/lightbend/sbt-paradox-lightbend-project-info/releases)
* Tag it (with a `v` prefix)
* Github actions should automatically release to maven-central
6 changes: 2 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ThisBuild / scalaVersion := "2.12.17"
ThisBuild / scalaVersion := "2.12.18"

sbtPlugin := true

Expand Down Expand Up @@ -49,9 +49,7 @@ ThisBuild / githubWorkflowPublish := Seq(
)
)

ThisBuild / test / publishArtifact := false
ThisBuild / pomIncludeRepository := (_ => false)
sonatypeProfileName := "com.lightbend"
sonatypeProfileName := "com.lightbend"

ThisBuild / githubWorkflowJavaVersions := List(
JavaSpec.temurin("11"),
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.8.0
sbt.version=1.9.8
4 changes: 2 additions & 2 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.5")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.22.0")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")

0 comments on commit cf2d13c

Please sign in to comment.