Skip to content

Commit

Permalink
Bump cnab-go to v0.10.0-beta1
Browse files Browse the repository at this point in the history
Bundle.SchemaVersion was changed to a custom type, based on a string.

Signed-off-by: Carolyn Van Slyck <[email protected]>
  • Loading branch information
carolynvs-msft committed Apr 7, 2020
1 parent b573167 commit 225ce7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion converter/convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func GenerateRelocationMap(ix *ocischemav1.Index, b *bundle.Bundle, originRepo r

func makeAnnotations(b *bundle.Bundle) (map[string]string, error) {
result := map[string]string{
CNABRuntimeVersionAnnotation: b.SchemaVersion,
CNABRuntimeVersionAnnotation: string(b.SchemaVersion),
ocischemav1.AnnotationTitle: b.Name,
ocischemav1.AnnotationVersion: b.Version,
ocischemav1.AnnotationDescription: b.Description,
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/Microsoft/go-winio v0.4.14
github.com/Nvveen/Gotty v0.0.0-20120604004816-cd527374f1e5
github.com/beorn7/perks v1.0.1
github.com/cnabio/cnab-go v0.8.2-beta1
github.com/cnabio/cnab-go v0.10.0-beta1
github.com/containerd/containerd v1.3.0
github.com/containerd/continuity v0.0.0-20181203112020-004b46473808
github.com/docker/cli v0.0.0-20191017083524-a8ff7f821017
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ github.com/cloudflare/go-metrics v0.0.0-20151117154305-6a9aea36fb41/go.mod h1:ea
github.com/cloudflare/redoctober v0.0.0-20171127175943-746a508df14c/go.mod h1:6Se34jNoqrd8bTxrmJB2Bg2aoZ2CdSXonils9NsiNgo=
github.com/cnabio/cnab-go v0.8.2-beta1 h1:pJfXR9w0G1m3sFE3yp+ImAKeaBUwa2OviE9f+PnpMnM=
github.com/cnabio/cnab-go v0.8.2-beta1/go.mod h1:5c4uOP6ZppR4nUGtCMAElscRiYEUi44vNQwtSAvISXk=
github.com/cnabio/cnab-go v0.10.0-beta1 h1:5LEEODVQkyCHfeT6pggPz5zq/PinA/CzlNrChFkfGkg=
github.com/cnabio/cnab-go v0.10.0-beta1/go.mod h1:5c4uOP6ZppR4nUGtCMAElscRiYEUi44vNQwtSAvISXk=
github.com/containerd/containerd v1.2.7/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA=
github.com/containerd/containerd v1.3.0 h1:xjvXQWABwS2uiv3TWgQt5Uth60Gu86LTGZXMJkjc7rY=
github.com/containerd/containerd v1.3.0/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA=
Expand Down

0 comments on commit 225ce7a

Please sign in to comment.