Skip to content

Commit 4e46a5e

Browse files
authored
Merge pull request #493 from watson-developer-cloud/5994-bumpversion
Implement bumpversion
2 parents 81acc47 + 01a00cb commit 4e46a5e

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

.bumpversion.cfg

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[bumpversion]
2+
current_version = 2.12.0
3+
commit = True
4+
message = [skip ci] docs: Update version numbers from {current_version} -> {new_version}
5+
6+
[bumpversion:file:Doxyfile]
7+
8+
[bumpversion:file:Scripts/Utilities/Constants.cs]
9+
search = {current_version}
10+
replace = {new_version}

.releaserc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
{
22
"branch": "master",
33
"verifyConditions": [],
4-
"prepare": [],
4+
"prepare": [
5+
{
6+
"path": "@semantic-release/exec",
7+
"cmd": "bumpversion --current-version ${lastRelease.version} --new-version ${nextRelease.version} patch"
8+
}
9+
],
510
"publish": ["@semantic-release/github"]
611
}

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ before_install:
1313
- chmod a+x ./Travis/installUnity.sh
1414
- npm install -g [email protected]
1515
install:
16+
- pip install bumpversion
1617
- ./Travis/installUnity.sh
1718
- npm install @semantic-release/exec
1819
before_script:

0 commit comments

Comments
 (0)