Skip to content

Commit

Permalink
fix(roc-plugin-repo): Fix issue when performing a prerelease
Browse files Browse the repository at this point in the history
Without this change we would have problems when doing multiple prereleases after one and other.
  • Loading branch information
dlmr committed Oct 3, 2017
1 parent 3ad7bad commit 2ea611e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extensions/roc-plugin-repo/src/commands/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,9 @@ export default projects => ({
previous.then(() =>
execa
.shell(
`git add . && git commit ${noVerify} -m "release${isMonorepo
`git add . && git commit ${noVerify} -m "${prereleaseTag
? 'pre'
: ''}release${isMonorepo
? `(${project.name})`
: ''}: ${status[project.name].newVersion}"`,
{
Expand Down

0 comments on commit 2ea611e

Please sign in to comment.