Skip to content

Commit 47fdc0f

Browse files
authored
Merge pull request #1144 from watson-developer-cloud/rc
Major Release 2020
2 parents e13acba + 7a1049a commit 47fdc0f

File tree

1,369 files changed

+73024
-14569
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,369 files changed

+73024
-14569
lines changed

.bumpversion.cfg

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
[bumpversion]
2-
current_version = 8.6.3
2+
current_version = 9.0.0-rc.3
33
commit = True
44
message = Update version numbers from {current_version} -> {new_version}
5+
search = {current_version}
6+
replace = {new_version}
7+
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(?P<rc>\-rc\.\d+)?
8+
serialize =
9+
{major}.{minor}.{patch}{rc}
10+
{major}.{minor}.{patch}
511

612
[bumpversion:file:gradle.properties]
713

@@ -32,6 +38,4 @@ message = Update version numbers from {current_version} -> {new_version}
3238
[bumpversion:file:docker/pom.xml]
3339

3440
[bumpversion:file:examples/build.gradle]
35-
search = {current_version}
36-
replace = {new_version}
3741

.releaserc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
{
2-
"branch": "master",
2+
"branches": [
3+
"master",
4+
{
5+
"name": "rc",
6+
"prerelease": true
7+
}
8+
],
39
"debug": true,
410
"plugins": [
511
"@semantic-release/commit-analyzer",
@@ -8,7 +14,7 @@
814
[
915
"@semantic-release/exec",
1016
{
11-
"prepareCmd": "bumpversion --current-version ${lastRelease.version} --new-version ${nextRelease.version} --allow-dirty patch"
17+
"prepareCmd": ".utility/bumpversion.sh ${lastRelease.version} ${nextRelease.version}"
1218
}
1319
],
1420
[

.travis.yml

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
dist: trusty
1+
dist: xenial
22
os: linux
33
branches:
44
except:
@@ -12,7 +12,7 @@ stages:
1212
jobs:
1313
include:
1414
- stage: Build and test
15-
jdk: oraclejdk8
15+
jdk: openjdk8
1616
language: java
1717
before_install:
1818
- .utility/decrypt-service-instance-apikeys.sh
@@ -21,21 +21,12 @@ jobs:
2121
- ./gradlew checkstyleTest
2222
- travis_retry .utility/travis-run-tests.sh
2323
after_success:
24-
- bash <(curl -s https://codecov.io/bash)
25-
- jdk: openjdk7
26-
language: java
27-
before_install:
28-
- .utility/patch-openjdk7.sh
29-
- .utility/decrypt-service-instance-apikeys.sh
30-
script:
31-
- travis_retry .utility/travis-run-tests.sh
32-
after_success:
33-
- bash <(curl -s https://codecov.io/bash)
24+
- bash <(curl -s https://codecov.io/bash)+++++++
3425

3526
- stage: Semantic release
36-
jdk: openjdk7
27+
jdk: openjdk8
3728
language: java
38-
if: branch = master AND type = push AND fork = false
29+
if: (branch = master OR branch = rc) AND type = push AND fork = false
3930
before_install:
4031
- pip install --user bumpversion
4132
- nvm install 12
@@ -46,15 +37,15 @@ jobs:
4637
- npx semantic-release
4738

4839
- stage: Publish javadoc
49-
jdk: openjdk7
40+
jdk: openjdk8
5041
language: java
5142
if: type = push AND fork = false
5243
script:
5344
- ./gradlew docs
5445
- .utility/push-javadoc-to-gh-pages.sh
5546

5647
- stage: Release to bintray
57-
jdk: openjdk7
48+
jdk: openjdk8
5849
language: java
5950
if: tag IS present
6051
script:

.utility/bumpversion.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
VERSION="patch"
6+
7+
if [ "${TRAVIS_BRANCH}" != "master" ]; then
8+
VERSION="rc"
9+
fi
10+
11+
bumpversion --current-version $1 --new-version $2 --allow-dirty $VERSION --verbose

.utility/decrypt-service-instance-apikeys.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
33
echo -e "Decrypt service instance apikeys for branch $TRAVIS_BRANCH.\n"
4-
openssl aes-256-cbc -K $encrypted_75da58c42a01_key -iv $encrypted_75da58c42a01_iv \
4+
openssl aes-256-cbc -K $encrypted_79638a2d7865_key -iv $encrypted_79638a2d7865_iv \
55
-in config.properties.enc -out common/src/test/resources/config.properties -d
66
else
77
echo -e "Not Decrypt service instance apikeys for branch $TRAVIS_BRANCH.\n"

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
1+
# [9.0.0-rc.3](https://github.com/watson-developer-cloud/java-sdk/compare/v9.0.0-rc.2...v9.0.0-rc.3) (2020-12-03)
2+
3+
4+
### Features
5+
6+
* **generation:** api def tag 'sdk-major-release-2020' gen tag 3.19.0 ([3414833](https://github.com/watson-developer-cloud/java-sdk/commit/3414833807abe8534e6daf838500a5426e9e4e04))
7+
8+
9+
### BREAKING CHANGES
10+
11+
* **generation:** api def tag 'sdk-major-release-2020' gen tag 3.19.0
12+
13+
# [9.0.0-rc.2](https://github.com/watson-developer-cloud/java-sdk/compare/v9.0.0-rc.1...v9.0.0-rc.2) (2020-11-11)
14+
15+
16+
### Bug Fixes
17+
18+
* typo in migration guide ([984a350](https://github.com/watson-developer-cloud/java-sdk/commit/984a3503502a7867470b3e342fe959643ae0a561))
19+
* update version to 9.0.0-rc.2 ([ab57379](https://github.com/watson-developer-cloud/java-sdk/commit/ab573794f351e00f6fb97e3fed0e7d3ad20fb824))
20+
21+
22+
### Features
23+
24+
* add bumpversion release candidate support ([b794bb6](https://github.com/watson-developer-cloud/java-sdk/commit/b794bb6407e461af0edd99952e08b98e8d4a95e2))
25+
26+
# [9.0.0-rc.1](https://github.com/watson-developer-cloud/java-sdk/compare/v8.6.3...v9.0.0-rc.1) (2020-11-10)
27+
28+
29+
### chore
30+
31+
* update for semantic-release ([22a7d00](https://github.com/watson-developer-cloud/java-sdk/commit/22a7d008c6e333a944c3b0f6a96f142f587e5aed))
32+
33+
34+
### Features
35+
36+
* **generation:** api def tag 'sdk-major-release-2020-rc01' gen commit '7cc0550' ([3bec20d](https://github.com/watson-developer-cloud/java-sdk/commit/3bec20d5ccae38ba2a1f1d8adf6cf16cdc2c6a18))
37+
* **speech-to-text-v1:** add RecognizeWithWebsocketsOptions model ([d3b7fe9](https://github.com/watson-developer-cloud/java-sdk/commit/d3b7fe91fad17fa6ef6dd00a5ecc38b689dfd016))
38+
39+
40+
### BREAKING CHANGES
41+
42+
* generated with 3.18.0 of the IBM openapi sdk generator
43+
144
## [8.6.3](https://github.com/watson-developer-cloud/java-sdk/compare/v8.6.2...v8.6.3) (2020-10-26)
245

346

0 commit comments

Comments
 (0)