From 9580f57b1e0544c2aa0cb0054cfba7212c1320f2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 2 Oct 2025 22:17:53 +0000 Subject: [PATCH 1/2] Initial plan From a40f938ff2305ff59011833e086fd469fd512d9c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 2 Oct 2025 22:23:08 +0000 Subject: [PATCH 2/2] Add prepublish and postpublish hooks to v1.0 schema Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com> --- schemas/v1.0/azure.yaml.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/schemas/v1.0/azure.yaml.json b/schemas/v1.0/azure.yaml.json index edd869709df..11a089a2356 100644 --- a/schemas/v1.0/azure.yaml.json +++ b/schemas/v1.0/azure.yaml.json @@ -188,6 +188,16 @@ "title": "post package hook", "description": "Runs after the service is deployment package is created", "$ref": "#/definitions/hooks" + }, + "prepublish": { + "title": "pre publish hook", + "description": "Runs before the service is published", + "$ref": "#/definitions/hooks" + }, + "postpublish": { + "title": "post publish hook", + "description": "Runs after the service is published", + "$ref": "#/definitions/hooks" } } } @@ -511,6 +521,16 @@ "description": "Runs after the `package` command", "$ref": "#/definitions/hooks" }, + "prepublish": { + "title": "pre publish hook", + "description": "Runs before the `publish` command", + "$ref": "#/definitions/hooks" + }, + "postpublish": { + "title": "post publish hook", + "description": "Runs after the `publish` command", + "$ref": "#/definitions/hooks" + }, "predeploy": { "title": "pre deploy hook", "description": "Runs before the `deploy` command",