We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 686e3cf + ce61230 commit 6eea004Copy full SHA for 6eea004
1 file changed
packages/cli-kit/src/public/node/git.ts
@@ -233,8 +233,7 @@ export async function downloadGitRepository(cloneOptions: GitCloneOptions): Prom
233
}
234
235
async function getLatestTagFromDirectory(directory: string, repoUrl: string): Promise<string> {
236
- const stdout = await gitCommand(['describe', '--tags', '--abbrev=0'], directory)
237
- const tag = stdout.trim()
+ const tag = await getLatestTag(directory)
238
239
if (!tag) {
240
throw new AbortError(`Couldn't obtain the most recent tag of the repository ${repoUrl}`)
0 commit comments