New issue checklist
Task name
GitHubRelease@1
Task version
1.266.0
Issue Description
There is a missing error string when the release fails to create.
|
console.log(tl.loc("CreateReleaseFailed")); |
This message is not present in the localisation files for all languages so logs a warning that it cannot resolve the message to print
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
N/A
Relevant log output
##[error]An unexpected error occurred while uploading the file: %s
##[warning]Can't find loc string for key: CreateReleaseFailed
Full task logs with system.debug enabled
Details
[REPLACE THIS WITH YOUR INFORMATION]
Repro steps
Enable immutable releases in a GitHub repo
Run the task with included assets to trigger an error. Example pipeline: https://github.com/JasonWhall/opentofu-pipeline-task/blob/985a5375f51f6e1051162b0ed93878fc4ce9f584/.pipelines/ci.yaml#L196
New issue checklist
Task name
GitHubRelease@1
Task version
1.266.0
Issue Description
There is a missing error string when the release fails to create.
azure-pipelines-tasks/Tasks/GitHubReleaseV1/operations/Action.ts
Line 43 in 1b635d4
This message is not present in the localisation files for all languages so logs a warning that it cannot resolve the message to print
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
N/A
Relevant log output
Full task logs with system.debug enabled
Details
Repro steps