Skip to content

Commit 26d1495

Browse files
build: update release to override existing jars if needed
1 parent a637c98 commit 26d1495

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

.releaserc

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,13 @@
88
[
99
"@semantic-release/exec",
1010
{
11-
"prepareCmd": "bumpversion --current-version ${lastRelease.version} --new-version ${nextRelease.version} --verbose --allow-dirty patch"
11+
"prepareCmd": "bumpversion --current-version ${lastRelease.version} --new-version ${nextRelease.version} --allow-dirty patch"
12+
}
13+
],
14+
[
15+
"@semantic-release/exec",
16+
{
17+
"prepareCmd": "./gradlew clean shadowJar"
1218
}
1319
],
1420
[

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ jobs:
4343
- npm install @semantic-release/exec
4444
- npm install @semantic-release/git
4545
script:
46-
- ./gradlew shadowJar
4746
- npx semantic-release
4847

4948
- stage: Publish javadoc

.utility/bintray-release.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ bintray {
1414
key = System.getenv('BINTRAY_APIKEY')
1515
publications = ['maven']
1616
publish = true
17+
override = true
1718
pkg {
1819
repo = 'ibm-cloud-sdk-repo'
1920
name = packageName

.utility/cd/secring.gpg.enc

-4.02 KB
Binary file not shown.

0 commit comments

Comments
 (0)