refactor: remove unused test util function

This commit is contained in:
pvdlg 2018-04-29 00:52:35 -04:00 committed by Pierre Vanduynslager
parent 45d7e6f25f
commit 65aaa77e95

View File

@ -121,10 +121,6 @@ export async function gitTagVersion(tagName, sha) {
await execa('git', sha ? ['tag', '-f', tagName, sha] : ['tag', tagName]); 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. * 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. * The shallow will contain a limited number of commit and no tags.