Skip to content

Commit 07f675e

Browse files
committed
updated for v0.1.12
1 parent a582d82 commit 07f675e

File tree

5 files changed

+505
-5
lines changed

5 files changed

+505
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
strategy:
2323
matrix:
2424
os: [ubuntu-latest]
25-
scala: [3.1.2]
25+
scala: [3.2.0-RC1]
2626
java: [temurin@11]
2727
runs-on: ${{ matrix.os }}
2828
steps:

build.sbt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import ReleaseTransformations._
22
import Dependencies._
3+
import scala.sys.process._
34

4-
ThisBuild / scalaVersion := "3.1.2"
5+
ThisBuild / scalaVersion := "3.2.0-RC1"
56
ThisBuild / versionScheme := Some("semver-spec")
67
ThisBuild / releaseVersionBump := sbtrelease.Version.Bump.Next
78

@@ -118,6 +119,14 @@ scalacOptions ++= Seq(
118119
"-feature",
119120
)
120121

122+
lazy val addDescriptorChanges = taskKey[Unit](
123+
"git add descriptor changes"
124+
)
125+
126+
addDescriptorChanges := {
127+
"git add coursier/polystat.json".!
128+
}
129+
121130
lazy val generateDescriptor =
122131
taskKey[Unit](
123132
"Generate a descriptor that is used by coursier to install polystat-cli."
@@ -162,11 +171,12 @@ commands += Command.args("preRelease", "<arg>") { (state, args) =>
162171
runTest,
163172
setReleaseVersion,
164173
releaseStepTask(assembly),
174+
releaseStepTask(generateDescriptor),
175+
releaseStepTask(addDescriptorChanges),
165176
commitReleaseVersion,
166177
tagRelease,
167178
releaseStepCommandAndRemaining("publishSigned"),
168179
releaseStepCommand("sonatypeBundleRelease"),
169-
releaseStepTask(generateDescriptor),
170180
pushChanges,
171181
)
172182
),

coursier/polystat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"central"
66
],
77
"dependencies": [
8-
"org.polystat:polystat-cli_3:0.1.11"
8+
"org.polystat:polystat-cli_3:0.1.12"
99
]
1010
}
1111
}

0 commit comments

Comments
 (0)