fix(semver): Ranges can fail with some pre-release numbering

There was a hyphen range bug in semver that prevented constraints
in the form of v2.3.5-20161202202307-sha.e8fc5e5. This would be
parsed incorrectly as a hyphen range and then fail. The bug in
semver was fixed in semver v1.2.2 for this issue.
pull/1675/head
Matt Farina 8 years ago
parent 55b83f3aec
commit 8264d8ba0a
No known key found for this signature in database
GPG Key ID: 563463E4AF017AB2

6
glide.lock generated

@ -1,5 +1,5 @@
hash: 93ecfadd94d604412b346a3b988000c40e4e4414788d653cec36139481e4d157
updated: 2016-12-13T00:31:11.783543393-08:00
hash: 2fc61aa64319b4dc6cd4a107c46a25264865f2e07362d7dcd8a3db002278d6a6
updated: 2016-12-13T10:01:05.940550036-05:00
imports:
- name: cloud.google.com/go
version: 3b1ae45394a234c385be014e9a488f2bb6eef821
@ -180,7 +180,7 @@ imports:
- jlexer
- jwriter
- name: github.com/Masterminds/semver
version: 52edfc04e184ecf0962489d167b511b27aeebd61
version: 59c29afe1a994eacb71c833025ca7acf874bb1da
- name: github.com/Masterminds/sprig
version: 1e60e4ce482a1e2c7b9c9be667535ef152e04300
- name: github.com/mattn/go-runewidth

@ -12,7 +12,7 @@ import:
version: ^2.7
- package: github.com/ghodss/yaml
- package: github.com/Masterminds/semver
version: ~1.2.1
version: ~1.2.2
- package: github.com/technosophos/moniker
- package: github.com/golang/protobuf
version: df1d3ca07d2d07bba352d5b73c4313b4e2a6203e

Loading…
Cancel
Save