Skip to content

Commit

Permalink
fix: direct mode with no subpath
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasRooney committed Jul 24, 2024
1 parent 6e557ff commit c35b9bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/git/releases.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit c35b9bb

Please sign in to comment.