Skip to content

Commit e9d1ed6

Browse files
committed
Sync semver v3 with gha-bump
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
1 parent 07d1c6d commit e9d1ed6

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

go.mod

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ require (
2121

2222
require (
2323
github.com/Masterminds/semver v1.5.0
24-
github.com/alexellis/gha-bump v0.0.0
24+
github.com/alexellis/gha-bump v0.0.6
2525
)
2626

2727
require (
@@ -54,5 +54,3 @@ require (
5454
)
5555

5656
replace github.com/alexellis/fstail => ../fstail
57-
58-
replace github.com/alexellis/gha-bump => ../gha-bump

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ github.com/Masterminds/semver v1.5.0 h1:H65muMkzWKEuNDnfl9d70GUjFniHKHRbFPGBuZ3Q
22
github.com/Masterminds/semver v1.5.0/go.mod h1:MB6lktGJrhw8PrUyiEoblNEGEQ+RzHPF078ddwwvV3Y=
33
github.com/Masterminds/semver/v3 v3.3.1 h1:QtNSWtVZ3nBfk8mAOu/B6v7FMJ+NHTIgUPi7rj+4nv4=
44
github.com/Masterminds/semver/v3 v3.3.1/go.mod h1:4V+yj/TJE1HU9XfppCwVMZq3I84lprf4nC11bSS5beM=
5+
github.com/alexellis/gha-bump v0.0.6 h1:s4isGq/UwLdvd6wDLJBcYrynY5KgQme4nH8spxQ/82o=
6+
github.com/alexellis/gha-bump v0.0.6/go.mod h1:DoVZXvmzy/SjVJcIkdPQEgUFGJc/aZEXM4Rmi//HpBM=
57
github.com/alexellis/go-execute/v2 v2.2.1 h1:4Ye3jiCKQarstODOEmqDSRCqxMHLkC92Bhse743RdOI=
68
github.com/alexellis/go-execute/v2 v2.2.1/go.mod h1:FMdRnUTiFAmYXcv23txrp3VYZfLo24nMpiIneWgKHTQ=
79
github.com/clipperhouse/displaywidth v0.3.1 h1:k07iN9gD32177o1y4O1jQMzbLdCrsGJh+blirVYybsk=

pkg/get/get_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,9 @@ func Test_DownloadKubens(t *testing.T) {
771771
name := "kubens"
772772
tool := getTool(name, tools)
773773

774-
got, _, err := tool.GetURL("linux", arch64bit, tool.Version, false)
774+
version := "v0.9.5"
775+
776+
got, _, err := tool.GetURL("linux", arch64bit, version, false)
775777
if err != nil {
776778
t.Fatal(err)
777779
}

vendor/github.com/alexellis/gha-bump/pkg/ghabump/ghabump.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/modules.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ github.com/Masterminds/semver/v3
77
# github.com/alexellis/fstail v0.0.0-20250917111842-2ab578ec2afb => ../fstail
88
## explicit; go 1.24.0
99
github.com/alexellis/fstail/pkg/fstail
10-
# github.com/alexellis/gha-bump v0.0.0 => ../gha-bump
10+
# github.com/alexellis/gha-bump v0.0.6
1111
## explicit; go 1.25.0
1212
github.com/alexellis/gha-bump/pkg/ghabump
1313
# github.com/alexellis/go-execute/v2 v2.2.1
@@ -177,4 +177,3 @@ gopkg.in/fsnotify.v1
177177
## explicit
178178
gopkg.in/yaml.v3
179179
# github.com/alexellis/fstail => ../fstail
180-
# github.com/alexellis/gha-bump => ../gha-bump

0 commit comments

Comments
 (0)