diff --git a/main.go b/main.go index 6bf290b..29b7721 100644 --- a/main.go +++ b/main.go @@ -21,7 +21,7 @@ func main() { tag := gha.GetInput("tag") if tag == "" { tag = ctx.Ref - } + } if !strings.HasPrefix(tag, "refs/tags/") { gha.Fatalf("ref %s is not a tag", tag)