From c35b9bb45a5e7e446fd2b3ca622822e6fe755704 Mon Sep 17 00:00:00 2001 From: Thomas Rooney Date: Wed, 24 Jul 2024 16:22:01 +0100 Subject: [PATCH] fix: direct mode with no subpath --- internal/git/releases.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/git/releases.go b/internal/git/releases.go index fa7b6764..1572260c 100644 --- a/internal/git/releases.go +++ b/internal/git/releases.go @@ -62,7 +62,7 @@ func (g *Git) CreateRelease(releaseInfo releases.ReleasesInfo, outputs map[strin for lang, info := range releaseInfo.Languages { tag := "v" + info.Version - if info.Path != "." { + if info.Path != "" && info.Path != "." && info.Path != "./" { tag = fmt.Sprintf("%s/%s", info.Path, tag) }