fix: push only tags to remote repo

This commit is contained in:
Pierre Vanduynslager
2018-11-21 12:32:01 -05:00
parent aa022e0ac2
commit 2b082acc73
2 changed files with 16 additions and 2 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ async function tag(tagName, execaOpts) {
* @throws {Error} if the push failed.
*/
async function push(repositoryUrl, branch, execaOpts) {
await execa('git', ['push', '--tags', repositoryUrl, `HEAD:${branch}`], execaOpts);
await execa('git', ['push', '--tags', repositoryUrl], execaOpts);
}
/**