Skip to content

Commit da4718a

Browse files
authored
Merge pull request #710 from watson-developer-cloud/semr
fix(semrelease): Reorder semantic release steps
2 parents b809363 + 1a13a0c commit da4718a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.bumpversion.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[bumpversion]
22
current_version = 4.0.2
33
commit = True
4+
tag = True
5+
tag_name = v{new_version}
46
message = [skip ci] Bump version: {current_version} -> {new_version}
57

68

.releaserc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
"verifyConditions": ["@semantic-release/changelog", "@semantic-release/github"],
44
"debug": true,
55
"prepare": [
6+
"@semantic-release/changelog",
7+
"@semantic-release/git",
68
{
79
"path": "@semantic-release/exec",
810
"cmd": "bumpversion --current-version ${lastRelease.version} --new-version ${nextRelease.version} patch"
9-
},
10-
"@semantic-release/changelog",
11-
"@semantic-release/git"
11+
}
1212
],
1313
"publish": [
1414
{

0 commit comments

Comments
 (0)