From c06c0bc8a16a4e820b39d1b21747265e3b47ac3a Mon Sep 17 00:00:00 2001 From: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com> Date: Wed, 11 Sep 2024 11:26:33 +0200 Subject: [PATCH] Undoing shallow clone Signed-off-by: AbstractionFactory <179820029+abstractionfactory@users.noreply.github.com> --- .../moduleindex/moduleschema/tools/build-tofu-binary/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/internal/moduleindex/moduleschema/tools/build-tofu-binary/main.go b/backend/internal/moduleindex/moduleschema/tools/build-tofu-binary/main.go index c44a5b3..5c7b9dc 100644 --- a/backend/internal/moduleindex/moduleschema/tools/build-tofu-binary/main.go +++ b/backend/internal/moduleindex/moduleschema/tools/build-tofu-binary/main.go @@ -37,8 +37,8 @@ func buildTofu(repoDir string, testTofuDir string, binaryPath string) { runCommand(testTofuDir, "git", "clone", "https://github.com/opentofu/opentofu.git", repoDir) } - runCommand(repoDir, "git", "checkout", "experiment/json_config_dump") runCommand(repoDir, "git", "pull") + runCommand(repoDir, "git", "checkout", "experiment/json_config_dump") runCommand(repoDir, "go", "build", "-o", filepath.ToSlash(binaryPath), "./cmd/tofu/main.go") }