mirror of
https://github.com/lukaszraczylo/semver-generator.git
synced 2026-06-09 23:09:24 +00:00
Add version checking.
This commit is contained in:
@@ -234,6 +234,7 @@ func (s *Setup) getSemver() string {
|
||||
|
||||
func main() {
|
||||
if varShowVersion {
|
||||
checkLatestRelease()
|
||||
fmt.Println("semver-gen", PKG_VERSION, "\tMore information: https://github.com/lukaszraczylo/semver-generator")
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user