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 1
1
[bumpversion]
2
2
current_version = 4.0.3
3
3
commit = True
4
- message = [skip ci] Bump version: {current_version} -> {new_version}
5
4
6
5
[bumpversion:file:ibm_watson/version.py]
7
6
search = __version__ = ' {current_version}'
Original file line number Diff line number Diff line change 1
1
{
2
- "branch": "master",
3
- "verifyConditions": ["@semantic-release/changelog", "@semantic-release/github"],
4
2
"debug": true,
5
- "prepare": [
3
+ "plugins": [
4
+ "@semantic-release/commit-analyzer",
5
+ "@semantic-release/release-notes-generator",
6
6
"@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"
17
20
]
18
- }
21
+ }
Original file line number Diff line number Diff line change 1
1
language : python
2
+
2
3
matrix :
3
4
include :
4
5
- python : 3.5
5
6
- python : 3.6
6
7
- python : 3.7
7
8
- python : 3.8
8
- cache : pip
9
+
10
+ cache : pip3
11
+
9
12
before_install :
10
13
- ' [ "${TRAVIS_PULL_REQUEST}" = "false" ] && openssl aes-256-cbc -K $encrypted_cebf25e6c525_key
11
14
-iv $encrypted_cebf25e6c525_iv -in .env.enc -out .env -d || true'
12
15
- npm install npm@latest -g
16
+
13
17
install :
14
- - pip install tox-travis
18
+ - pip3 install tox-travis
19
+
15
20
before_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
+
22
25
script :
23
- - pip install -U python-dotenv
26
+ - pip3 install -U python-dotenv
24
27
- tox
28
+
25
29
before_deploy :
26
- - pip install bumpversion
30
+ - sudo apt-get update
31
+ - pip3 install pypandoc
32
+ - sudo apt-get install pandoc
33
+ - pip3 install bumpversion
27
34
- nvm install 12
28
35
- npm install @semantic-release/changelog
29
36
- npm install @semantic-release/exec
30
37
- npm install @semantic-release/git
31
38
- npm install @semantic-release/github
39
+
32
40
deploy :
33
41
- provider : script
34
42
script : docs/publish.sh
You can’t perform that action at this time.
0 commit comments