File tree Expand file tree Collapse file tree 3 files changed +35
-25
lines changed
Expand file tree Collapse file tree 3 files changed +35
-25
lines changed Original file line number Diff line number Diff line change 11[bumpversion]
22current_version = 4.0.3
33commit = True
4- message = [skip ci] Bump version: {current_version} -> {new_version}
54
65[bumpversion:file:ibm_watson/version.py]
76search = __version__ = ' {current_version}'
Original file line number Diff line number Diff line change 11{
2- "branch": "master",
3- "verifyConditions": ["@semantic-release/changelog", "@semantic-release/github"],
42 "debug": true,
5- "prepare": [
3+ "plugins": [
4+ "@semantic-release/commit-analyzer",
5+ "@semantic-release/release-notes-generator",
66 "@semantic-release/changelog",
7- "@semantic-release/git",
8- {
9- "path": "@semantic-release/exec",
10- "cmd": "bumpversion --current-version ${lastRelease.version} --new-version ${nextRelease.version} patch"
11- }
12- ],
13- "publish": [
14- {
15- "path": "@semantic-release/github"
16- }
7+ [
8+ "@semantic-release/exec",
9+ {
10+ "prepareCmd": "bumpversion --allow-dirty --current-version ${lastRelease.version} --new-version ${nextRelease.version} patch"
11+ }
12+ ],
13+ [
14+ "@semantic-release/git",
15+ {
16+ "message": "chore(release): ${nextRelease.version} release notes\n\n${nextRelease.notes}"
17+ }
18+ ],
19+ "@semantic-release/github"
1720 ]
18- }
21+ }
Original file line number Diff line number Diff line change 11language : python
2+
23matrix :
34 include :
45 - python : 3.5
56 - python : 3.6
67 - python : 3.7
78 - python : 3.8
8- cache : pip
9+
10+ cache : pip3
11+
912before_install :
1013- ' [ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_cebf25e6c525_key
1114 -iv $encrypted_cebf25e6c525_iv -in .env.enc -out .env -d || true'
1215- npm install npm@latest -g
16+
1317install :
14- - pip install tox-travis
18+ - pip3 install tox-travis
19+
1520before_script :
16- - sudo apt-get update
17- - pip install pypandoc
18- - sudo apt-get install pandoc
19- - pip install -r requirements.txt
20- - pip install -r requirements-dev.txt
21- - pip install --editable .
21+ - pip3 install -r requirements.txt
22+ - pip3 install -r requirements-dev.txt
23+ - pip3 install --editable .
24+
2225script :
23- - pip install -U python-dotenv
26+ - pip3 install -U python-dotenv
2427- tox
28+
2529before_deploy :
26- - pip install bumpversion
30+ - sudo apt-get update
31+ - pip3 install pypandoc
32+ - sudo apt-get install pandoc
33+ - pip3 install bumpversion
2734- nvm install 12
2835- npm install @semantic-release/changelog
2936- npm install @semantic-release/exec
3037- npm install @semantic-release/git
3138- npm install @semantic-release/github
39+
3240deploy :
3341- provider : script
3442 script : docs/publish.sh
You can’t perform that action at this time.
0 commit comments