refactor: remove unused test util function

This commit is contained in:
pvdlg
2018-05-01 09:59:57 -04:00
committed by Pierre Vanduynslager
parent 45d7e6f25f
commit 65aaa77e95
-4
View File
@@ -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.