Skip to content

Commit d73730f

Browse files
committed
Update the version-promote command to align with the new API
1 parent 4df65d9 commit d73730f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apptrust/model/promote_app_version_request.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ const (
44
PromotionTypeCopy = "copy"
55
PromotionTypeMove = "move"
66

7-
// This is not a valid value for the --promotion-type flag, but is passed to the API if the --dry-run flag is set.
7+
// This value cannot be set via the --promotion-type flag in the CLI.
8+
// It is sent to the promotion_type field in the REST API only when the --dry-run flag is used.
89
PromotionTypeDryRun = "dry_run"
910
)
1011

0 commit comments

Comments
 (0)