Skip to content

Commit

Permalink
Update version to 4.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
earldouglas committed Jun 29, 2024
1 parent 342e95c commit c4ccd64
Show file tree
Hide file tree
Showing 19 changed files with 54 additions and 25 deletions.
41 changes: 35 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Contributing

## Testing

Publish to the local Maven repository:

```
$ sbt
> set version := "4.2.5"
> ^publishM2
```

Update the versions in plugins.sbt:

```
$ find examples -type f -name plugins.sbt -exec sed -i 's/4.2.4/4.2.5/' {} \;
```

Run the tests for each:

```
$ for i in examples/*
do
pushd $i
grep -q JettyPlugin build.sbt && sbt Jetty/test
grep -q TomcatPlugin build.sbt && sbt Tomcat/test
grep -q ContainerPlugin build.sbt && sbt Container/test
popd
done
```

## Publishing

xsbt-web-plugin uses the process outlined in the [Using Sonatype][1]
Expand All @@ -11,7 +40,7 @@ Create a staging release in Sonatype:

```
$ sbt
> set version := "4.2.3"
> set version := "4.2.5"
> ^publishSigned
```

Expand All @@ -35,17 +64,17 @@ Wait for it to be synced to Maven Central:
Update the documentation:

```
$ git checkout -b v4.2.3
$ sed -i 's/4\.2\.2/4.2.3/g' README.md
$ git checkout -b v4.2.5
$ sed -i 's/4\.2\.2/4.2.5/g' README.md
$ git add README.md
$ git commit -m "Update version to 4.2.3"
$ git push origin v4.2.3
$ git commit -m "Update version to 4.2.5"
$ git push origin v4.2.5
```

Tag the release:

```
$ git tag 4.2.3
$ git tag 4.2.5
$ git push --tags origin
```

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ servlets](https://en.wikipedia.org/wiki/Java_servlet).
Add xsbt-web-plugin to *project/plugins.sbt*:

```scala
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
```

Enable the Jetty plugin:
Expand Down Expand Up @@ -83,7 +83,7 @@ sbt.version=1.6.2
*project/plugins.sbt:*

```scala
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
```

*build.sbt:*
Expand Down
2 changes: 1 addition & 1 deletion examples/adder/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
2 changes: 1 addition & 1 deletion examples/async/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
2 changes: 1 addition & 1 deletion examples/free/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
2 changes: 1 addition & 1 deletion examples/frege/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")

addSbtPlugin("com.earldouglas" % "sbt-frege" % "3.0.2")
2 changes: 1 addition & 1 deletion examples/getting-started/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
2 changes: 1 addition & 1 deletion examples/http4s/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
2 changes: 1 addition & 1 deletion examples/https/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
2 changes: 1 addition & 1 deletion examples/jetty-11/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
2 changes: 1 addition & 1 deletion examples/lift/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
2 changes: 1 addition & 1 deletion examples/mustache/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
2 changes: 1 addition & 1 deletion examples/payara-micro/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
2 changes: 1 addition & 1 deletion examples/sbt-0.x/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
2 changes: 1 addition & 1 deletion examples/sbt-1.x/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
2 changes: 1 addition & 1 deletion examples/scala-js/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
2 changes: 1 addition & 1 deletion examples/scalatra/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
2 changes: 1 addition & 1 deletion examples/spray/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")
2 changes: 1 addition & 1 deletion examples/zio/project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.4")
addSbtPlugin("com.earldouglas" % "xsbt-web-plugin" % "4.2.5")

0 comments on commit c4ccd64

Please sign in to comment.