Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions packages/cli-kit/src/public/node/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@ export async function downloadGitRepository(cloneOptions: GitCloneOptions): Prom
}

async function getLatestTagFromDirectory(directory: string, repoUrl: string): Promise<string> {
const stdout = await gitCommand(['describe', '--tags', '--abbrev=0'], directory)
const tag = stdout.trim()
const tag = await getLatestTag(directory)

if (!tag) {
throw new AbortError(`Couldn't obtain the most recent tag of the repository ${repoUrl}`)
Expand Down
Loading