You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For anything other than the basic instructions provided here, refer to the
sbt-release documentation.
Including sbt-release settings
Important: The settings releaseSettings is automatically mixed into all projects,
including sub-projects, as this is a sbt auto plugin. If you don't want it for some sub-projects you have to
explicitly disable it for them. See [Enabling and disabling auto plugins]
(https://www.scala-sbt.org/0.13/tutorial/Using-Plugins.html#Enabling+and+disabling+auto+plugins) for more info.
Caveats
For some commands git sends the output to error stream which will cause some false negative exceptions
to appear in the console. For now you can safely ignore this exceptions (for instance when a push to
remote happens), but in the future this can be improve by treat those commands differently or wait for this to be
fixed in `git.
If you want to release this plugin you need the ServiceRocket account credentials and API key, so probably you
need to ask your administrator about it. Then you have to setup the credentials using the following sbt command:
Now you can publish using thw following command (you have to reload your project at least once after setting up the
credentials):
> sbt publish
Note that publishing snapshot versions is not allowed to bintray. If you need to publish and use a snapshot
version in other projects, you can publish this project to your local Ivy repository using the following command:
> sbt publish-local
Other settings
This plugin is an extesntion to sbt-release so the settings supported by that plugin will be respected.
For instance, you can run a non-interactive release by providing the argument with-defaults (tab completion works) to the release command. From command line use the follwoing command:
> sbt 'release with-defaults'
or alternatively from the sbt shell use the release with-defaults command.
You can also optionally avoid running any tests by providing the skip-tests argument to the release command: