Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit d324765

Browse files
committed
Set custom payload version to current
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 <[email protected]>
1 parent 349c8a3 commit d324765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/packager/cnab.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ func ToCNAB(app *types.App, invocationImageName string) (*bundle.Bundle, error)
172172
SchemaVersion: CNABVersion1_0_0,
173173
Custom: map[string]interface{}{
174174
internal.CustomDockerAppName: DockerAppCustom{
175-
Version: DockerAppCustomVersion1_0_0,
175+
Version: DockerAppCustomVersionCurrent,
176176
Payload: payload,
177177
},
178178
},

0 commit comments

Comments
 (0)