diff --git a/v6/heroku.go b/v6/heroku.go index ebcf6eb..16d166a 100644 --- a/v6/heroku.go +++ b/v6/heroku.go @@ -3502,6 +3502,10 @@ type PipelinePromotionCreateOpts struct { App *struct { ID *string `json:"id,omitempty" url:"id,omitempty,key"` // unique identifier of app } `json:"app,omitempty" url:"app,omitempty,key"` // the app which was promoted from + Release *struct { + ID *string `json:"id,omitempty" url:"id,omitempty,key"` // unique identifier of release + } `json:"release,omitempty" url:"release,omitempty,key"` // the specific release to promote from (optional, defaults to current + // release) } `json:"source" url:"source,key"` // the app being promoted from Targets []struct { App *struct { diff --git a/v6/schema.json b/v6/schema.json index 2293a60..80f5505 100644 --- a/v6/schema.json +++ b/v6/schema.json @@ -11283,6 +11283,18 @@ "type": [ "object" ] + }, + "release": { + "description": "the specific release to promote from (optional, defaults to current release)", + "properties": { + "id": { + "$ref": "#/definitions/release/definitions/id" + } + }, + "strictProperties": true, + "type": [ + "object" + ] } }, "type": [ @@ -12471,7 +12483,8 @@ "enum": [ "failed", "pending", - "succeeded" + "succeeded", + "expired" ], "example": "succeeded", "readOnly": true,