Skip to content

Commit

Permalink
fix(semrelease): Reorder semantic release steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ehdsouza committed Nov 20, 2019
1 parent b809363 commit 1a13a0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[bumpversion]
current_version = 4.0.2
commit = True
tag = True
tag_name = v{new_version}
message = [skip ci] Bump version: {current_version} -> {new_version}


Expand Down
6 changes: 3 additions & 3 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"verifyConditions": ["@semantic-release/changelog", "@semantic-release/github"],
"debug": true,
"prepare": [
"@semantic-release/changelog",
"@semantic-release/git",
{
"path": "@semantic-release/exec",
"cmd": "bumpversion --current-version ${lastRelease.version} --new-version ${nextRelease.version} patch"
},
"@semantic-release/changelog",
"@semantic-release/git"
}
],
"publish": [
{
Expand Down

0 comments on commit 1a13a0c

Please sign in to comment.