From 60ddfd55073f22f8eecea15475fdda9fb0374b36 Mon Sep 17 00:00:00 2001 From: mirkobrombin Date: Sat, 6 May 2023 19:16:23 +0200 Subject: [PATCH] fix a bug where 2 RUN commands are in the same line --- core/build.go | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/build.go b/core/build.go index a8bf726..41da58a 100644 --- a/core/build.go +++ b/core/build.go @@ -140,7 +140,7 @@ func BuildContainerfile(recipe *Recipe, cmds []ModuleCommand) error { } } - _, err = containerfile.WriteString(unifiedCmd) + _, err = containerfile.WriteString(fmt.Sprintf("%s\n", unifiedCmd)) if err != nil { return err } diff --git a/main.go b/main.go index cd3d460..ccd68cf 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,7 @@ import ( ) var ( - Version = "0.2.4" + Version = "0.2.5" ) func main() {