Skip to content

Commit

Permalink
fix(roc-plugin-repo): Fix issue with GitHub release for non monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
dlmr committed Sep 1, 2017
1 parent e1a54d9 commit 3ba90c7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions extensions/roc-plugin-repo/src/commands/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,9 @@ export default projects => ({
});
}

selectedToBeReleased[0].tag = `v${status[
selectedToBeReleased[0].name
].newVersion}`;
return execa.shell(`git tag ${selectedToBeReleased[0].tag}`, {
ctx.releaseTag = `v${status[selectedToBeReleased[0].name]
.newVersion}`;
return execa.shell(`git tag ${ctx.releaseTag}`, {
cwd: context.directory,
});
},
Expand Down

0 comments on commit 3ba90c7

Please sign in to comment.