Skip to content

Commit

Permalink
Update regFullVersion regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
ije committed Aug 31, 2021
1 parent c6654f1 commit 00e27a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

var (
regFullVersion = regexp.MustCompile(`^\d+\.\d+\.\d+(\-[a-zA-Z0-9\.]+)*$`)
regFullVersion = regexp.MustCompile(`^\d+\.\d+\.\d+[a-zA-Z0-9\.\-]*$`)
regBuildVersionPath = regexp.MustCompile(`^/v\d+/`)
)

Expand Down

0 comments on commit 00e27a1

Please sign in to comment.