File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "branch": "master",
33 "tagFormat": "java-sdk-${version}",
4+ "debug": true,
45 "plugins": [
6+ "@semantic-release/changelog",
57 "@semantic-release/commit-analyzer",
68 "@semantic-release/release-notes-generator",
7- "@semantic-release/git",
89 ["@semantic-release/github", {
910 "assets": [
1011 {"path": "ibm-watson/build/libs/ibm-watson-${nextRelease.version}-jar-with-dependencies.jar"}
1112 ]
1213 }],
1314 ["@semantic-release/exec", {
1415 "prepareCmd": "bumpversion --current-version ${lastRelease.version} --new-version ${nextRelease.version} --verbose --allow-dirty patch"
15- }]
16+ }],
17+ "@semantic-release/git"
1618 ]
17- }
19+ }
Original file line number Diff line number Diff line change @@ -23,14 +23,11 @@ before_install:
2323 echo "security.provider.1=org.bouncycastle.jce.provider.BouncyCastleProvider" | sudo tee -a /etc/java-7-openjdk/security/java.security
2424 fi
2525 - npm install -g npm@6.x
26- - nvm install 'lts/*'
2726- sudo apt-get update
2827- sudo apt-get install python
2928install :
3029- if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then cd appscan; make asoc-tool; cd
3130 ../; fi
32- - npm install -g semantic-release@15.13.4
33- - npm install @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/git @semantic-release/github @semantic-release/exec -D
3431- pip install --user bumpversion
3532before_script :
3633- if [ "${TRAVIS_TAG}" = "${TRAVIS_BRANCH}" ]; then chmod a+x ./appscan/ASOC.sh; fi
@@ -50,10 +47,15 @@ script:
5047- " ./gradlew docs > /dev/null"
5148after_success :
5249- bash <(curl -s https://codecov.io/bash)
50+ before deploy :
51+ - nvm install 12
52+ - npm install @semantic-release/changelog
53+ - npm install @semantic-release/exec
54+ - npm install @semantic-release/git
5355deploy :
5456- provider : script
5557 skip_cleanup : true
56- script : " semantic-release"
58+ script : npx semantic-release
5759 on :
5860 branch : master
5961 jdk : openjdk7
You can’t perform that action at this time.
0 commit comments