(info *debug.BuildInfo)
| 33 | } |
| 34 | |
| 35 | func getCommit(info *debug.BuildInfo) string { |
| 36 | for _, setting := range info.Settings { |
| 37 | if setting.Key == "vcs.revision" { |
| 38 | return setting.Value[:7] |
| 39 | } |
| 40 | } |
| 41 | return "" |
| 42 | } |
| 43 | |
| 44 | // GetVersion returns the version of Task. By default, this is retrieved from |
| 45 | // the embedded version.txt file which is kept up-to-date by our release script. |
no outgoing calls
no test coverage detected
searching dependent graphs…