1 diff --git a/version/version.go b/version/version.go
2 index 9ca8aba..d9bd968 100644
3 --- a/version/version.go
4 +++ b/version/version.go
5 @@ -4,9 +4,6 @@ package version
11 - "github.com/Masterminds/semver/v3"
14 // Version supplies the semantic version.
15 @@ -14,20 +11,8 @@ var Version string
17 // String prints the build information for the bot.
18 func String() string {
21 - _, err := semver.NewVersion(Version)
26 - if info, ok := debug.ReadBuildInfo(); ok {
27 - for _, s := range info.Settings {
28 - if s.Key == "vcs.revision" {
33 + Version = "@version@"
36 return fmt.Sprintf("Version : %s\nGit Hash: %s\n", Version, hash)