mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-12-04 18:19:54 +00:00
Fix version retrieval procedure
This commit is contained in:
parent
b7be7b0b3a
commit
dcf823522a
@ -15,7 +15,7 @@ var Long string
|
||||
// Short is the human-friendly x.y.z part of the long version string.
|
||||
var Short string
|
||||
|
||||
var versionRegexp = regexp.MustCompile(`This is documentation for \*\*Mycorrhiza Wiki\*\* (.*).`)
|
||||
var versionRegexp = regexp.MustCompile(`This is documentation for Mycorrhiza Wiki (.*)\. `)
|
||||
|
||||
func init() {
|
||||
if b, err := help.Get("en"); err == nil {
|
||||
|
Loading…
Reference in New Issue
Block a user