fix: remove unnecessary branch parameter from push function

This commit is contained in:
Pierre Vanduynslager
2018-11-29 20:44:31 -05:00
parent b729183b4a
commit 968b9968a1
3 changed files with 5 additions and 6 deletions
+2 -2
View File
@@ -108,7 +108,7 @@ async function run(context, plugins) {
logger.log('Create tag %s', nextRelease.gitTag);
await tag(nextRelease.gitTag, nextRelease.gitHead, {cwd, env});
await push(options.repositoryUrl, context.branch.name, {cwd, env});
await push(options.repositoryUrl, {cwd, env});
context.branch.tags.push({
version: nextRelease.version,
channel: nextRelease.channel,
@@ -164,7 +164,7 @@ async function run(context, plugins) {
} else {
// Create the tag before calling the publish plugins as some require the tag to exists
await tag(nextRelease.gitTag, nextRelease.gitHead, {cwd, env});
await push(options.repositoryUrl, context.branch.name, {cwd, env});
await push(options.repositoryUrl, {cwd, env});
logger.success(`Created tag ${nextRelease.gitTag}`);
}