From dcddf5da060c5001a31b75467889e5935b51bb11 Mon Sep 17 00:00:00 2001 From: jhnstn Date: Fri, 8 Mar 2024 16:09:05 -0500 Subject: [PATCH] ignore version if running in dev --- gbm-cli/cmd/root.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gbm-cli/cmd/root.go b/gbm-cli/cmd/root.go index 43e1f81..e921336 100644 --- a/gbm-cli/cmd/root.go +++ b/gbm-cli/cmd/root.go @@ -26,5 +26,7 @@ func init() { // Add the render command rootCmd.AddCommand(render.RenderCmd) rootCmd.AddCommand(release.ReleaseCmd) - utils.CheckExeVersion(Version) + if !utils.CheckIfTempRun() { + utils.CheckExeVersion(Version) + } }