Skip to content

Commit 0dfa433

Browse files
authored
Merge pull request #1067 from watson-developer-cloud/release-fixes
Various post-release changes
2 parents c8addf9 + 0c11c0f commit 0dfa433

File tree

4 files changed

+7
-73
lines changed

4 files changed

+7
-73
lines changed

.releaserc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
"@semantic-release/commit-analyzer",
66
"@semantic-release/release-notes-generator",
77
"@semantic-release/git",
8-
"@semantic-release/github",
8+
["@semantic-release/github", {
9+
"assets": [
10+
{"path": "ibm-watson/build/libs/ibm-watson-${nextRelease.version}-jar-with-dependencies.jar"}
11+
]
12+
}],
913
["@semantic-release/exec", {
1014
"prepareCmd": "bumpversion --current-version ${lastRelease.version} --new-version ${nextRelease.version} --verbose --allow-dirty patch"
1115
}]

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ after_success:
5252
deploy:
5353
- provider: script
5454
skip_cleanup: true
55-
script: "travis_wait 30 ./gradlew bintrayUpload"
55+
script: "./gradlew bintrayUpload"
5656
on:
5757
tags: true
5858
jdk: openjdk7

README.md

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -49,72 +49,12 @@ Java client library to use the [Watson APIs][wdc].
4949

5050
</details>
5151

52-
:speaking_head: :speaking_head: :speaking_head:
53-
## Heads up!
54-
`v7.1.0` is out! Be sure to check out the [migration guide](https://github.com/watson-developer-cloud/java-sdk/blob/java-sdk-7.1.0/MIGRATION.md) for major breaking changes and the [release notes](https://github.com/watson-developer-cloud/java-sdk/releases/tag/java-sdk-7.1.0) for extra info.
55-
:speaking_head: :speaking_head: :speaking_head:
56-
5752
## Before you begin
5853
* You need an [IBM Cloud][ibm-cloud-onboarding] account.
5954

6055
## Installation
6156

6257
##### Maven
63-
First, you'll need to edit your `settings.xml` file to target the right repository. Here's an example file configured to use the library:
64-
```xml
65-
<settings xmlns='http://maven.apache.org/SETTINGS/1.0.0' xsi:schemaLocation='http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
66-
<profiles>
67-
<profile>
68-
<repositories>
69-
<repository>
70-
<snapshots>
71-
<enabled>
72-
false
73-
</enabled>
74-
</snapshots>
75-
<id>
76-
bintray-ibm-cloud-sdks-ibm-cloud-sdk-repo
77-
</id>
78-
<name>
79-
bintray
80-
</name>
81-
<url>
82-
https://dl.bintray.com/ibm-cloud-sdks/ibm-cloud-sdk-repo
83-
</url>
84-
</repository>
85-
</repositories>
86-
<pluginRepositories>
87-
<pluginRepository>
88-
<snapshots>
89-
<enabled>
90-
false
91-
</enabled>
92-
</snapshots>
93-
<id>
94-
bintray-ibm-cloud-sdks-ibm-cloud-sdk-repo
95-
</id>
96-
<name>
97-
bintray-plugins
98-
</name>
99-
<url>
100-
https://dl.bintray.com/ibm-cloud-sdks/ibm-cloud-sdk-repo
101-
</url>
102-
</pluginRepository>
103-
</pluginRepositories>
104-
<id>
105-
bintray
106-
</id>
107-
</profile>
108-
</profiles>
109-
<activeProfiles>
110-
<activeProfile>
111-
bintray
112-
</activeProfile>
113-
</activeProfiles>
114-
</settings>
115-
```
116-
Then, you can add the dependencies in your project POM.
117-
11858
All the services:
11959

12060
```xml
@@ -136,17 +76,6 @@ Only Discovery:
13676
```
13777

13878
##### Gradle
139-
First, edit your repositories in your `build.gradle` file to target the right repository:
140-
```gradle
141-
repositories {
142-
maven {
143-
url "https://dl.bintray.com/ibm-cloud-sdks/ibm-cloud-sdk-repo"
144-
}
145-
}
146-
```
147-
148-
Then, you can add the actual dependencies.
149-
15079
All the services:
15180

15281
```gradle

ibm-watson/build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ artifacts {
7878

7979
dependencies {
8080
compile project(':assistant')
81+
compile project(':common')
8182
compile project(':compare-comply')
8283
compile project(':discovery')
8384
compile project(':language-translator')

0 commit comments

Comments
 (0)