Commit a7ad21b
fix: use --overrides (not --override) in AzDO publish pipeline template (#75)
The Azure DevOps publish pipeline template was using `--override` (singular)
which is not a recognized option in `apiops publish`. The correct flag is
`--overrides` (plural). This caused the pipeline to fail with an unknown-option
error regardless of which COMMIT_ID_CHOICE was selected.
The incremental step already correctly passed `--commit-id $(Build.SourceVersion)`
when `publish-artifacts-in-last-commit` is chosen (via the `ne()` condition).
This fix ensures the command is actually valid so the commit-id flag is honoured.
Agent-Logs-Url: https://github.com/Azure/apiops-cli/sessions/db84354f-ba77-4077-8d97-de9af7994fd8
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: EMaher <9244742+EMaher@users.noreply.github.com>1 parent eafe663 commit a7ad21b
2 files changed
Lines changed: 4 additions & 4 deletions
File tree
- src/templates/azure-devops
- tests/unit/templates/azure-devops
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
203 | | - | |
| 202 | + | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
0 commit comments