From d21a55785e4719434d8d70a24b83ec3512a42549 Mon Sep 17 00:00:00 2001 From: asoseil Date: Wed, 10 Jan 2018 10:52:32 +0100 Subject: [PATCH 1/3] #154 fixed --- realize/projects.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realize/projects.go b/realize/projects.go index 97f3674..d855651 100644 --- a/realize/projects.go +++ b/realize/projects.go @@ -572,7 +572,7 @@ func (p *Project) run(path string, stream chan Response, stop <-chan bool) (err name := filepath.Base(path) if path == "." && p.Tools.Run.Dir == "" { name = filepath.Base(Wdir()) - } else { + } else if p.Tools.Run.Dir != ""{ name = filepath.Base(dirPath) } path = filepath.Join(dirPath, name) From 45045d74ad470b7b8978bd37e83cd631d318e838 Mon Sep 17 00:00:00 2001 From: asoseil Date: Wed, 10 Jan 2018 10:53:17 +0100 Subject: [PATCH 2/3] fmt --- realize/projects.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realize/projects.go b/realize/projects.go index d855651..1ef974c 100644 --- a/realize/projects.go +++ b/realize/projects.go @@ -572,7 +572,7 @@ func (p *Project) run(path string, stream chan Response, stop <-chan bool) (err name := filepath.Base(path) if path == "." && p.Tools.Run.Dir == "" { name = filepath.Base(Wdir()) - } else if p.Tools.Run.Dir != ""{ + } else if p.Tools.Run.Dir != "" { name = filepath.Base(dirPath) } path = filepath.Join(dirPath, name) From b26e4c877abef038ce3ca81ca898bbee9dc172dd Mon Sep 17 00:00:00 2001 From: asoseil Date: Wed, 10 Jan 2018 10:55:08 +0100 Subject: [PATCH 3/3] version updated --- realize/cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/realize/cli.go b/realize/cli.go index d8d29a6..28a36b5 100644 --- a/realize/cli.go +++ b/realize/cli.go @@ -18,7 +18,7 @@ var ( // RPrefix tool name RPrefix = "realize" // RVersion current version - RVersion = "2.0" + RVersion = "2.0.1" // RExt file extension RExt = ".yaml" // RFile config file name