Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Commit

Permalink
Set custom payload version to current
Browse files Browse the repository at this point in the history
Set the custom payload version to `DockerAppCustomVersionCurrent` when
creating a new bundle so as to reduce the number of required changes
when developing a new version of the custom payload.

Signed-off-by: Nick Adcock <nick.adcock@docker.com>
  • Loading branch information
zappy-shu committed Nov 13, 2019
1 parent 349c8a3 commit d324765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/packager/cnab.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ func ToCNAB(app *types.App, invocationImageName string) (*bundle.Bundle, error)
SchemaVersion: CNABVersion1_0_0,
Custom: map[string]interface{}{
internal.CustomDockerAppName: DockerAppCustom{
Version: DockerAppCustomVersion1_0_0,
Version: DockerAppCustomVersionCurrent,
Payload: payload,
},
},
Expand Down

0 comments on commit d324765

Please sign in to comment.