Skip to content

Commit

Permalink
Merge pull request #373 from mamachanko/topic/mamachanko/develop/bump…
Browse files Browse the repository at this point in the history
…-semver

Use latest github.com/carvel-dev/semver
  • Loading branch information
joaopapereira authored Apr 8, 2024
2 parents 58ff583 + 408592d commit abf7f1c
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 17 deletions.
4 changes: 2 additions & 2 deletions examples/github-release/vendir.lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ directories:
url: https://api.github.com/repos/cloudfoundry/eirini-release/releases/23064766
path: github.com/cloudfoundry-incubator/eirini-release
- githubRelease:
tag: v1.23.0
url: https://api.github.com/repos/kubernetes/kubernetes/releases/54824547
tag: v1.23.17
url: https://api.github.com/repos/kubernetes/kubernetes/releases/94000681
path: github.com/kubernetes/kubectl
path: vendor
kind: LockConfig
2 changes: 1 addition & 1 deletion examples/github-release/vendir.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@ directories:
disableAutoChecksumValidation: true
tagSelection:
semver:
constraints: "~v1.23.x"
constraints: 1.23.x
http:
url: https://dl.k8s.io/release/{tag}/bin/linux/amd64/kubectl
Binary file not shown.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
require (
carvel.dev/imgpkg v0.40.0
github.com/bmatcuk/doublestar v1.2.1
github.com/carvel-dev/semver/v4 v4.0.1-0.20230221220520-8090ce423695
github.com/carvel-dev/semver/v4 v4.0.1-0.20240402203627-beb83fbf25e4
github.com/cppforlife/cobrautil v0.0.0-20221021151949-d60711905d65
github.com/cppforlife/go-cli-ui v0.0.0-20220425131040-94f26b16bc14
github.com/gogo/protobuf v1.3.2
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20220517224237-
github.com/awslabs/amazon-ecr-credential-helper/ecr-login v0.0.0-20220517224237-e6f29200ae04/go.mod h1:Z+bXnIbhKJYSvxNwsNnwde7pDKxuqlEZCbUBoTwAqf0=
github.com/bmatcuk/doublestar v1.2.1 h1:eetYiv8DDYOZcBADY+pRvRytf3Dlz1FhnpvL2FsClBc=
github.com/bmatcuk/doublestar v1.2.1/go.mod h1:wiQtGV+rzVYxB7WIlirSN++5HPtPlXEo9MEoZQC/PmE=
github.com/carvel-dev/semver/v4 v4.0.1-0.20230221220520-8090ce423695 h1:naCDnpJeqQq5OHOYR6j01yIVVUk3WI5MuSHpDTy+M1A=
github.com/carvel-dev/semver/v4 v4.0.1-0.20230221220520-8090ce423695/go.mod h1:4cFTBLAr/U11ykiEEQMccu4uJ1i0GS+atJmeETHCFtI=
github.com/carvel-dev/semver/v4 v4.0.1-0.20240402203627-beb83fbf25e4 h1:F4rZiMGZyC66j9VB7doVOE4tFHF1yNEihQlOuht4jmM=
github.com/carvel-dev/semver/v4 v4.0.1-0.20240402203627-beb83fbf25e4/go.mod h1:4cFTBLAr/U11ykiEEQMccu4uJ1i0GS+atJmeETHCFtI=
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/cheggaaa/pb/v3 v3.1.4 h1:DN8j4TVVdKu3WxVwcRKu0sG00IIU6FewoABZzXbRQeo=
github.com/cheggaaa/pb/v3 v3.1.4/go.mod h1:6wVjILNBaXMs8c21qRiaUM8BR82erfgau1DQ4iUXmSA=
Expand Down
30 changes: 20 additions & 10 deletions vendor/github.com/carvel-dev/semver/v4/range.go

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

2 changes: 1 addition & 1 deletion vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ github.com/awslabs/amazon-ecr-credential-helper/ecr-login/version
# github.com/bmatcuk/doublestar v1.2.1
## explicit; go 1.12
github.com/bmatcuk/doublestar
# github.com/carvel-dev/semver/v4 v4.0.1-0.20230221220520-8090ce423695
# github.com/carvel-dev/semver/v4 v4.0.1-0.20240402203627-beb83fbf25e4
## explicit; go 1.14
github.com/carvel-dev/semver/v4
# github.com/cheggaaa/pb/v3 v3.1.4
Expand Down

0 comments on commit abf7f1c

Please sign in to comment.