Skip to content

Commit

Permalink
sbt-war: 5.0.0-M6 -> 5.0.0-M7
Browse files Browse the repository at this point in the history
  • Loading branch information
earldouglas committed Dec 29, 2024
1 parent 325f95c commit 8699dca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@ section of the sbt manual for publishing to Maven Central via Sonatype.
Create a staging release in Sonatype:

```
$ export OLD_VERSION=5.0.0-M6
$ export NEW_VERSION=5.0.0-M7
$ nix-shell
$ sbt
> set ThisBuild / version := "5.0.0-M4"
> set ThisBuild / version := sys.env("NEW_VERSION")
> publishSigned
```

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

```
$ git checkout -b v5.0.0-M4
$ sed -i 's/4\.2\.2/5.0.0-M4/g' README.md
$ git checkout -b v$NEW_VERSION
$ sed -i "s/$OLD_VERSION/$NEW_VERSION/g" README.md
$ git add README.md
$ git commit -m "Update version to 5.0.0-M4"
$ git push origin v5.0.0-M4
$ git commit -m "sbt-war: $OLD_VERSION -> $NEW_VERSION
$ git push origin v$NEW_VERSION
```

Tag the release:

```
$ git tag 5.0.0-M4
$ git tag $NEW_VERSION
$ git push --tags origin
```

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ sbt.version=1.10.2
*project/plugins.sbt:*

```scala
addSbtPlugin("com.earldouglas" % "sbt-war" % "5.0.0-M6")
addSbtPlugin("com.earldouglas" % "sbt-war" % "5.0.0-M7")
```

*build.sbt:*
Expand Down

0 comments on commit 8699dca

Please sign in to comment.