From 8fab65af225497325085966ab0653f1cb52e90f6 Mon Sep 17 00:00:00 2001 From: jano3 <jano@bob.co.za> Date: Thu, 14 Dec 2023 09:57:26 +0200 Subject: [PATCH] Always use bootstrap as the binary name --- mage_helpers/build.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/mage_helpers/build.go b/mage_helpers/build.go index eb26eef..7dc9396 100644 --- a/mage_helpers/build.go +++ b/mage_helpers/build.go @@ -44,13 +44,7 @@ func Build(dir string, module string, isDebug bool) error { handler := path.Base(fullPath) fmt.Println(fmt.Sprintf("Building %v", handler)) - outputFileName := handler - env := CurrentEnv() - fmt.Println("ENV:", env) - if env == "playground" { - fmt.Println("Using 'bootstrap' for output file name") - outputFileName = "bootstrap" - } + outputFileName := "bootstrap" outputDir := fmt.Sprintf(currentDir+`/core/build/handlers/%v`, handler) outputFile := fmt.Sprintf(`%v/%v`, outputDir, outputFileName) -- GitLab