Skip to content

Commit 49ccb84

Browse files
committed
Automate release procedure
1 parent bd9f6fb commit 49ccb84

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -160,4 +160,5 @@ This software comes with [Apache License 2.0](http://www.apache.org/licenses/LIC
160160
[gitter-url]: https://gitter.im/angiolep/akka-wamp?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=body_badge
161161

162162
[download-image]: https://api.bintray.com/packages/angiolep/universal/akka-wamp/images/download.svg
163-
[download-url]: https://bintray.com/angiolep/universal/akka-wamp/_latestVersion
163+
[download-url]: https://bintray.com/angiolep/universal/download_file?file_path=akka-wamp-0.15.2.tgz
164+

core/build.sbt

+1-7
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,7 @@ publishMavenStyle := true
3131

3232
isSnapshot := false
3333

34-
publishTo := {
35-
val nexus = "https://oss.sonatype.org/"
36-
if (isSnapshot.value)
37-
Some("snapshots" at nexus + "content/repositories/snapshots")
38-
else
39-
Some("releases" at nexus + "service/local/staging/deploy/maven2")
40-
}
34+
publishTo := sonatypePublishTo.value
4135

4236
publishArtifact in Test := false
4337

docs/src/main/paradox/router.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ tgz
2424
@@snip[application.conf](../../../../core/src/main/resources/reference.conf){ #router }
2525

2626
[download-image]: https://api.bintray.com/packages/angiolep/universal/akka-wamp/images/download.svg
27-
[download-url]: https://bintray.com/angiolep/universal/akka-wamp/_latestVersion
27+
[download-url]: https://bintray.com/angiolep/universal/download_file?file_path=akka-wamp-0.15.2.tgz
2828

2929
### Transports
3030
An application can bind one or more listeners. Each listener corresponds to a named transport in the configuration file and it will bind to the configured endpoint. Usually, endpoints are configured for different schemes such as ``ws`` for WebSocket or ``wss`` for WebSocket with TLS - Transport Layer Security. Additional transport configuration falls back to the default one for missing keys (e.g. no need to repeat the ``format`` key)

project/plugins.sbt

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
11

22
resolvers += "Typesafe Repository" at "https://repo.typesafe.com/typesafe/releases/"
33

4+
// see https://github.com/xerial/sbt-sonatype
5+
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0")
6+
addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3")
7+
8+
49
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.3.3")
510

6-
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
711

12+
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.5.1")
813
addSbtPlugin("com.codacy" % "sbt-codacy-coverage" % "1.3.11")
914

15+
1016
addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.3.2")

0 commit comments

Comments
 (0)