File size: 2,392 Bytes
31c9f7d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 | {
"name": "save_release",
"description": "Create or update a release. If `id` is provided, updates the existing release; otherwise creates a new one. When creating, `name` and `pipeline` are required. Release status is modeled as the release pipeline stage.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"id": {
"description": "Release ID or slug to update. Omit to create a new release.",
"type": "string"
},
"name": {
"description": "Release name (required when creating)",
"type": "string"
},
"description": {
"description": "Release description",
"type": "string"
},
"version": {
"description": "Version identifier",
"type": "string"
},
"pipeline": {
"description": "Release pipeline ID, slug, or exact name (required when creating)",
"type": "string"
},
"stage": {
"description": "Release stage ID, exact name, or lifecycle type within the release pipeline",
"type": "string"
},
"startDate": {
"description": "Estimated start date (ISO YYYY-MM-DD, null to remove)",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"targetDate": {
"description": "Estimated completion date (ISO YYYY-MM-DD, null to remove)",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"createdAt": {
"description": "Import/create timestamp (ISO DateTime)",
"type": "string"
},
"startedAt": {
"description": "Started timestamp (ISO DateTime, null to remove)",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"completedAt": {
"description": "Completed timestamp (ISO DateTime, null to remove)",
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"commitSha": {
"description": "Commit SHA associated with the release",
"type": "string"
}
},
"additionalProperties": false
}
} |