Skip to content

Commit

Permalink
Merge pull request #64 from Pivotal-DataFabric/hashicorp-go-version
Browse files Browse the repository at this point in the history
More lenient version comparisions with github.com/hashicorp/go-version
  • Loading branch information
vito authored Jan 9, 2017
2 parents 78f62e3 + 36d0d5f commit 6dd38f1
Show file tree
Hide file tree
Showing 55 changed files with 529 additions and 4,985 deletions.
48 changes: 4 additions & 44 deletions Godeps/Godeps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion check/check_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func newVersions(lastVersion versions.Extraction, extractions versions.Extractio
response := CheckResponse{}

for _, extraction := range extractions {
if extraction.Version.GTE(lastVersion.Version) {
if extraction.Version.Compare(lastVersion.Version) >= 0 {
version := s3resource.Version{
Path: extraction.Path,
}
Expand Down
22 changes: 0 additions & 22 deletions vendor/github.com/blang/semver/LICENSE

This file was deleted.

191 changes: 0 additions & 191 deletions vendor/github.com/blang/semver/README.md

This file was deleted.

23 changes: 0 additions & 23 deletions vendor/github.com/blang/semver/json.go

This file was deleted.

Loading

0 comments on commit 6dd38f1

Please sign in to comment.