Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Question, Bug, or Feature?
A tfx extension for Azure Pipelines requires a manifest.json with a
I can define the following;
variables: - group: my-group - name: version.Major value: 1 - name: version.Minor value: 1 - name: version.Patch value: $(Build.BuildId) - name: version value: $(Build.BuildNumber)
But the result after running FileTransform is:
This is happening because you have a variable 'version' defined. This key is present in both manifest.json and task.json. In manifest.json it substitutes the value of version key which is desirable, when it does the same for task.json it causes an issue in this case. As a workarounf you can configure two jobs with file transform tasks, and define job level varibales. Ref doc: https://docs.microsoft.com/en-us/azure/devops/pipelines/process/variables?view=azure-devops&tabs=yaml%2Cbatch