chore: log version verbose
parent
bb7ef0715f
commit
d9d61fce7a
3
main.go
3
main.go
|
@ -213,6 +213,7 @@ func (a *action) getChangelogPath() (string, string, string) {
|
||||||
|
|
||||||
changelogName := filename + "." + filetype
|
changelogName := filename + "." + filetype
|
||||||
changelogPath := filepath.Join(path, changelogName)
|
changelogPath := filepath.Join(path, changelogName)
|
||||||
|
|
||||||
a.log("changelog path %s", changelogPath)
|
a.log("changelog path %s", changelogPath)
|
||||||
|
|
||||||
return changelogPath, filename, filetype
|
return changelogPath, filename, filetype
|
||||||
|
@ -232,6 +233,8 @@ func (a *action) getVersion() (string, error) {
|
||||||
return "", fmt.Errorf("invalid semver %s", version)
|
return "", fmt.Errorf("invalid semver %s", version)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.log("version %s", version)
|
||||||
|
|
||||||
return version, nil
|
return version, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue