Skip to content

Commit ffda8d4

Browse files
authored
Instructions how to publish a release
1 parent 123970e commit ffda8d4

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

+21
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,24 @@ OsgiKeys.exportPackage := Seq(s"<exported package>;version=${version.value}")
4242
4343
// Other settings
4444
```
45+
46+
## Cutting a new release
47+
48+
- Sign in to Bintray (https://bintray.com/login) or create an "Open Source" account (https://bintray.com/signup/oss)
49+
- Check if you have a repository named `sbt-plugins`. If not, create it (Name: sbt-plugins, Type: Generic).
50+
- Make sure the current `HEAD` is a tagged revision. In sbt, `version` (set by sbt-git) should be according to a tag.
51+
52+
> version
53+
[info] 1.0.6
54+
55+
- Run `publish` in sbt. If you don't have a `~/.bintray/.credentials` file, the sbt-bintray plugin will ask you for your
56+
username and API key. The API key can be obtained under "Edit Profile" (https://bintray.com/profile/edit). The sbt-bintray
57+
plugin saves credentials to `~/.bintray/.credentials` for future use.
58+
- If you haven't done so before, add your package for this plugin (https://bintray.com/YOUR_USERNAME/sbt-plugins/scala-module-plugin)
59+
to the community sbt repository (https://bintray.com/sbt/sbt-plugin-releases). Otherwise you're done, the release is available.
60+
- Check if you added your package by searching for "scala-module-plugin" in the repository.
61+
- If you cannot find your package, click "Include My Package"
62+
- Search for your plugin (`scala-module-plugin`)
63+
- Click "Send" to send the request
64+
65+
The above instructions are a short version of http://www.scala-sbt.org/0.13/docs/Bintray-For-Plugins.html.

0 commit comments

Comments
 (0)