Merge pull request #745 from hashicorp/b-rkt-version-regex
Update Rkt regex to determine version
This commit is contained in:
commit
931283c5e3
|
@ -24,8 +24,8 @@ import (
|
|||
)
|
||||
|
||||
var (
|
||||
reRktVersion = regexp.MustCompile(`rkt version (\d[.\d]+)`)
|
||||
reAppcVersion = regexp.MustCompile(`appc version (\d[.\d]+)`)
|
||||
reRktVersion = regexp.MustCompile(`rkt [vV]ersion[:]? (\d[.\d]+)`)
|
||||
reAppcVersion = regexp.MustCompile(`appc [vV]ersion[:]? (\d[.\d]+)`)
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
Loading…
Reference in a new issue