From 8f9fec69fc4a25867b9e50617b889c8e8fc549e9 Mon Sep 17 00:00:00 2001 From: "build@lguplus.co.kr" Date: Fri, 15 Dec 2023 19:47:56 +0900 Subject: [PATCH] =?UTF-8?q?GitRev=20Remove=20=EA=B0=B1=EC=8B=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/oto/commands/git/git.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/oto/commands/git/git.dart b/lib/oto/commands/git/git.dart index f818313..e7bae1b 100644 --- a/lib/oto/commands/git/git.dart +++ b/lib/oto/commands/git/git.dart @@ -47,6 +47,7 @@ class GitRev extends Command { var shell = StringBuffer(getCDPath(workspace)); var target = data.branch ?? 'HEAD'; target = replaceTag(target); + shell.write(' && git fetch origin'); shell.write(' && git rev-parse $target'); var process = await ProcessExecutor.start(shell, printStderr: false); var exitCode = await process.process.exitCode;