Skip to content

Commit 9101362

Browse files
committed
improve publishing instructions and bump version
1 parent bdb37b6 commit 9101362

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ The plugin also brings in
3535
Add the plugin to the `project/plugins.sbt` file:
3636

3737
```
38-
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "2.2.0")
38+
addSbtPlugin("org.scala-lang.modules" % "sbt-scala-module" % "2.2.3")
3939
```
4040

4141
Then, in your `build.sbt` add:
@@ -95,17 +95,18 @@ The instructions here are a sumamry of the readme in https://github.com/olafurpg
9595
- `SONATYPE_PASSWORD`: need that one
9696
- `SONATYPE_USERNAME`: that one too
9797

98-
## Cutting a new release (of this plugin)
98+
## Publishing a new release (of this plugin)
9999

100-
### Release notes
100+
### Publishing (short version)
101101

102-
Tag the release and add release notes to https://github.com/scala/sbt-scala-module/releases
102+
Create and push a tag and add the release notes. In sbt, verify that `version` picks the tag up, then run `publish` and bump the version number in the readme.
103103

104-
### Publishing via Bintray
104+
### Publishing (in detail)
105105

106106
- Sign in to Bintray (https://bintray.com/login) or create an "Open Source" account (https://bintray.com/signup/oss)
107107
- Check if you have a repository named `sbt-plugins`. If not, create it (Name: sbt-plugins, Type: Generic).
108108
- Make sure to use Java 8
109+
- Tag the release and add release notes to https://github.com/scala/sbt-scala-module/releases
109110
- Make sure the current `HEAD` is a tagged revision. In sbt, `version` (set by sbt-git) should be according to a tag.
110111

111112
> version
@@ -122,3 +123,5 @@ Tag the release and add release notes to https://github.com/scala/sbt-scala-modu
122123
- Click "Send" to send the request
123124

124125
The above instructions are a short version of https://www.scala-sbt.org/1.x/docs/Bintray-For-Plugins.html.
126+
127+
Don't forget to bump the version number here in this readme!

0 commit comments

Comments
 (0)