Skip to content

Commit 98a7d73

Browse files
authored
Merge pull request #299 from elezar/bump-v1.1.0
Bump version to v1.1.0
2 parents 922fc93 + a18ecc2 commit 98a7d73

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

.github/ISSUE_TEMPLATE/new-release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ it accordingly for future releases.
2222
- [ ] (*for specification changes only*) the `tags.cncf.io/container-device-interface/specs-go` version in `schema/go.mod`.
2323
- [ ] Run `make mod-tidy` to update versions in `cmd/**/go.mod`.
2424
- [ ] Run `make mod-verify` to ensure modules are up to date.
25-
- [ ] (*for specification changes only*) Add a description to the specification changes in `SPEC.md`.
25+
- [ ] (*for specification changes only*) Add a description to the specification changes and update the version in `SPEC.md`.
2626
- [ ] (*for specification changes only*) Implement a `requiresV*` function for the target version in `specs-go/versions.go`.
2727
- [ ] Merge the PR on sufficient approval.
2828
- [ ] Create a `vX.Y.Z` tag.

SPEC.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
## Version
1010

11-
This is CDI **spec** version **1.0.0**.
11+
This is CDI **spec** version **1.1.0**.
1212

1313
### Update policy
1414

cmd/cdi/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ require (
99
github.com/spf13/cobra v1.6.0
1010
gopkg.in/yaml.v3 v3.0.1
1111
sigs.k8s.io/yaml v1.4.0
12-
tags.cncf.io/container-device-interface v1.0.1
12+
tags.cncf.io/container-device-interface v1.1.0
1313
tags.cncf.io/container-device-interface/schema v0.0.0
14-
tags.cncf.io/container-device-interface/specs-go v1.0.0
14+
tags.cncf.io/container-device-interface/specs-go v1.1.0
1515
)
1616

1717
require (

cmd/validate/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ require (
1010
github.com/xeipuuv/gojsonschema v1.2.0 // indirect
1111
golang.org/x/mod v0.19.0 // indirect
1212
sigs.k8s.io/yaml v1.4.0 // indirect
13-
tags.cncf.io/container-device-interface v1.0.1 // indirect
14-
tags.cncf.io/container-device-interface/specs-go v1.0.0 // indirect
13+
tags.cncf.io/container-device-interface v1.1.0 // indirect
14+
tags.cncf.io/container-device-interface/specs-go v1.1.0 // indirect
1515
)
1616

1717
replace (

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ require (
1010
golang.org/x/sys v0.19.0
1111
gopkg.in/yaml.v3 v3.0.1
1212
sigs.k8s.io/yaml v1.4.0
13-
tags.cncf.io/container-device-interface/specs-go v1.0.0
13+
tags.cncf.io/container-device-interface/specs-go v1.1.0
1414
)
1515

1616
require (

schema/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ require (
66
github.com/stretchr/testify v1.7.0
77
github.com/xeipuuv/gojsonschema v1.2.0
88
sigs.k8s.io/yaml v1.4.0
9-
tags.cncf.io/container-device-interface v1.0.1
10-
tags.cncf.io/container-device-interface/specs-go v1.0.0
9+
tags.cncf.io/container-device-interface v1.1.0
10+
tags.cncf.io/container-device-interface/specs-go v1.1.0
1111
)
1212

1313
require (

specs-go/version.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ func requiresV110(spec *Spec) bool {
150150
}
151151
}
152152

153-
if len(spec.ContainerEdits.NetDevices) != 0 {
153+
if len(spec.ContainerEdits.NetDevices) > 0 {
154154
return true
155155
}
156156

@@ -161,7 +161,7 @@ func requiresV110(spec *Spec) bool {
161161
}
162162
}
163163

164-
if len(dev.ContainerEdits.NetDevices) != 0 {
164+
if len(dev.ContainerEdits.NetDevices) > 0 {
165165
return true
166166
}
167167
}

0 commit comments

Comments
 (0)