Skip to content

Commit 34653b4

Browse files
committed
Merge branch 'release/0.9.7'
2 parents f247c89 + 0bdd903 commit 34653b4

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,15 @@ It enables following symmetric interaction models:
2323

2424
```groovy
2525
dependencies {
26-
compile 'io.rsocket.kotlin:rsocket-core:0.9.6'
26+
compile 'io.rsocket.kotlin:rsocket-core:0.9.7'
2727
}
2828
```
2929
### Transports
30-
`Netty` based Websockets and TCP transport (`Client` and `Server`)
30+
3131
`OkHttp` based Websockets transport (`Client` only)
3232
```groovy
3333
dependencies {
34-
compile 'io.rsocket.kotlin:rsocket-transport-netty:0.9.6'
35-
compile 'io.rsocket.kotlin:rsocket-transport-okhttp:0.9.6'
34+
compile 'io.rsocket.kotlin:rsocket-transport-okhttp:0.9.7'
3635
}
3736
```
3837
### Usage

build.gradle

+7-2
Original file line numberDiff line numberDiff line change
@@ -88,21 +88,26 @@ buildScan {
8888
}
8989

9090
def versionSuffix() {
91-
def versionSuffix = ''
91+
def versionSuffix
9292
def branchName = project.findProperty('branch');
9393
if (branchName == null) {
9494
def details = versionDetails()
9595
if (details != null) {
9696
branchName = details.branchName
9797
}
9898
}
99-
99+
/*branch*/
100100
if (branchName != null) {
101101
if (branchName == 'master') {
102+
versionSuffix = ''
103+
} else if (branchName == 'develop') {
102104
versionSuffix = '-SNAPSHOT'
103105
} else {
104106
versionSuffix = "-${branchName.replace("/", "-")}-SNAPSHOT"
105107
}
108+
/*tag*/
109+
} else {
110+
versionSuffix = ''
106111
}
107112
return versionSuffix
108113
}

ci/buildViaTravis.sh

+3-6
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,9 @@ if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
55
echo -e "Build Pull Request #$TRAVIS_PULL_REQUEST => Branch [$TRAVIS_BRANCH]"
66
./gradlew -Pbranch="${TRAVIS_BRANCH}" build
77
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" == "" ]; then
8-
echo -e 'Build Branch with Snapshot => Branch ['$TRAVIS_BRANCH']'
8+
echo -e 'Build Branch => Branch ['$TRAVIS_BRANCH']'
99
./gradlew -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" -Pbranch="${TRAVIS_BRANCH}" build artifactoryPublish --stacktrace
10-
elif [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_TAG" != "" ]; then
11-
echo -e 'Build Branch for Release => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG']'
12-
./gradlew -PbintrayUser="${bintrayUser}" -PbintrayKey="${bintrayKey}" build bintrayUpload --stacktrace
1310
else
14-
echo -e 'WARN: Should not be here => Branch ['$TRAVIS_BRANCH'] Tag ['$TRAVIS_TAG'] Pull Request ['$TRAVIS_PULL_REQUEST']'
15-
./gradlew -Pbranch="${TRAVIS_BRANCH}" build
11+
echo -e 'Build Tag => Tag ['$TRAVIS_TAG']'
12+
./gradlew build
1613
fi

0 commit comments

Comments
 (0)