-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Describe the bug
The line version: v1.1.0 will be added as 1st line no matter what.
Steps to reproduce the behavior:
Prepare a task manifest
Attach it when creating ACR task
az acr task show -n webapptask -r $cR --query step.encodedTaskContent -o tsv | base64 --decode
Result:
What it will cause is - if I somehow wrote the manifest in the wrong format (the example above is not invalid), I cannot get the correct line number due to this issue:
Related command
az acr task show -n webapptask -r $cR --query step.encodedTaskContent -o tsv | base64 --decode
Errors
n/a
Issue script & Debug output
n/a
Expected behavior
The line version: v1.1.0 should not always be added.
Environment Summary
OS: [e.g. Ubuntu, Windows]: Cloud Shell
Azure CLI/PowerShell/SDK version: 2.70.0
Docker version: N/A
Datetime (UTC) when the issue occurred: 2025-03-19T08:50:19:87Z
Registry and image names: N/A
Additional context
No response

