You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Includes product update to be announced in the next stable release notes
What does this PR do?
Moves the @semantic-release/exec plugin (which runs scripts/ci-deploy.sh) to the end of the plugins array in .releaserc, after @semantic-release/github. Publish plugins run in order, so the GitHub release is created before the deploy command runs.
Where should the reviewer start?
.releaserc — plugin order only
How should this be manually tested?
After merge, run a release (or validate semantic-release config / dry-run if your process supports it) and confirm publish order: GitHub release first, then deploy script.
No runtime change to the Azure Pipelines task itself.
What's the product update that needs to be communicated to CLI users?
None. Release pipeline ordering only.
Risk assessment (Low | Medium | High)?
Low — configuration-only change.
Any background context you want to provide?
Previously exec ran before github in the plugin list. This aligns order with “GitHub release first, then marketplace / deploy.”
Moving @semantic-release/exec after @semantic-release/github breaks the atomicity of the release process. In the new order, the GitHub release (which includes creating the public tag and release notes) occurs before the Azure Marketplace deployment. If scripts/ci-deploy.sh fails (e.g., due to tfx authentication failure or validation errors shown in scripts/ci-deploy-prod.sh), the system is left in an inconsistent state: a public release is announced on GitHub, but the actual artifact is unavailable in the Marketplace. Reversing this—publishing the artifact first—ensures that the 'announcement' (GitHub release) only happens if the 'delivery' (Marketplace) succeeds.
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review
Loss of Release Atomicity 🟠 [major]
Moving @semantic-release/exec after @semantic-release/github breaks the atomicity of the release process. In the new order, the GitHub release (which includes creating the public tag and release notes) occurs before the Azure Marketplace deployment. If scripts/ci-deploy.sh fails (e.g., due to tfx authentication failure or validation errors shown in scripts/ci-deploy-prod.sh), the system is left in an inconsistent state: a public release is announced on GitHub, but the actual artifact is unavailable in the Marketplace. Reversing this—publishing the artifact first—ensures that the 'announcement' (GitHub release) only happens if the 'delivery' (Marketplace) succeeds.
Before this change, the same was true the other way around i.e. getting published to Marketplace but not creating a release because it was timing out in marketplace validation. This will be decoupled in future tasks. cc: @j-luong
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Submission Checklist
What does this PR do?
Moves the
@semantic-release/execplugin (which runsscripts/ci-deploy.sh) to the end of thepluginsarray in.releaserc, after@semantic-release/github. Publish plugins run in order, so the GitHub release is created before the deploy command runs.Where should the reviewer start?
.releaserc— plugin order onlyHow should this be manually tested?
What's the product update that needs to be communicated to CLI users?
None. Release pipeline ordering only.
Risk assessment (Low | Medium | High)?
Low — configuration-only change.
Any background context you want to provide?
Previously
execran beforegithubin the plugin list. This aligns order with “GitHub release first, then marketplace / deploy.”What are the relevant tickets?
CLI-1426
Screenshots (if appropriate)
N/A