1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2026-05-22 09:35:43 +02:00

fix: init broken on #1096

closes #1107

Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
Carlos Alexandro Becker
2019-08-08 18:10:26 -03:00
parent ab0e755a71
commit 7b84a2ccd7
+3
View File
@@ -76,6 +76,9 @@ func main() {
switch cmd {
case initCmd.FullCommand():
var filename = *config
if filename == "" {
filename = ".goreleaser.yml"
}
if err := initProject(filename); err != nil {
log.WithError(err).Error("failed to init project")
os.Exit(1)