From 65aaa77e95a9531434de215b1769b7d4ec367133 Mon Sep 17 00:00:00 2001 From: pvdlg Date: Sun, 29 Apr 2018 00:52:35 -0400 Subject: [PATCH] refactor: remove unused test util function --- test/helpers/git-utils.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/test/helpers/git-utils.js b/test/helpers/git-utils.js index c416014b..c974e27b 100644 --- a/test/helpers/git-utils.js +++ b/test/helpers/git-utils.js @@ -121,10 +121,6 @@ export async function gitTagVersion(tagName, sha) { await execa('git', sha ? ['tag', '-f', tagName, sha] : ['tag', tagName]); } -export async function gitRemoteTagVersion(origin, tagName, sha = 'HEAD') { - await execa('git', ['push', origin, `${sha}:refs/tags/${tagName}`]); -} - /** * Create a shallow clone of a git repository and change the current working directory to the cloned repository root. * The shallow will contain a limited number of commit and no tags.