Skip to content

Add prepublish and postpublish hooks to v1.0 azure.yaml schema - #5841

Merged
vhvb1989 merged 2 commits into
mainfrom
copilot/fix-57082243-6417-40cb-b126-d01ca9e5d78a
Oct 9, 2025
Merged

Add prepublish and postpublish hooks to v1.0 azure.yaml schema#5841
vhvb1989 merged 2 commits into
mainfrom
copilot/fix-57082243-6417-40cb-b126-d01ca9e5d78a

Conversation

Copilot AI commented Oct 2, 2025

Copy link
Copy Markdown
Contributor

Important

This should be merged after the next azd release containing changes from #5663.

Add prepublish and postpublish hooks to v1.0 azure.yaml schema

Completed:

  • Analyze alpha and v1.0 schemas to identify missing hooks
  • Add prepublish and postpublish hooks to service-level hooks section in v1.0 schema (lines 192-201)
  • Add prepublish and postpublish hooks to command-level hooks section in v1.0 schema (lines 524-533)
  • Validate JSON schema syntax ✓
  • Test schema with sample configuration ✓
  • Verify alpha and v1.0 schemas now have identical hooks ✓
  • Resolve merge conflict with main branch ✓

The v1.0 schema now includes prepublish and postpublish hooks at both the service and command levels, matching the alpha schema. These hooks enable users to run custom scripts before and after the publish command.

Merge conflict resolved: Updated version.txt to 0.1.0 from main branch.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Add prepublish, postpublish to azure.yaml schema Add prepublish and postpublish hooks to v1.0 azure.yaml schema Oct 2, 2025
Copilot AI requested a review from JeffreyCA October 2, 2025 22:25
@JeffreyCA

Copy link
Copy Markdown
Contributor

@copilot can you resolve the merge conflict?

Copilot AI commented Oct 3, 2025

Copy link
Copy Markdown
Contributor Author

@copilot can you resolve the merge conflict?

Merge conflict resolved in commit 2466e98. The conflict was in cli/azd/extensions/azure.coding-agent/version.txt where I accepted the version from main (0.1.0).

Co-authored-by: JeffreyCA <9157833+JeffreyCA@users.noreply.github.com>
@JeffreyCA
JeffreyCA force-pushed the copilot/fix-57082243-6417-40cb-b126-d01ca9e5d78a branch from e25ea06 to a40f938 Compare October 3, 2025 21:33
@JeffreyCA
JeffreyCA marked this pull request as ready for review October 3, 2025 21:33
@vhvb1989

vhvb1989 commented Oct 9, 2025

Copy link
Copy Markdown
Member

/check-enforcer override

@vhvb1989
vhvb1989 merged commit feefd4e into main Oct 9, 2025
4 checks passed
@JeffreyCA
JeffreyCA deleted the copilot/fix-57082243-6417-40cb-b126-d01ca9e5d78a branch October 20, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants