Skip to content

[BUG]: localised string missing for failed release creation #21620

@JasonWhall

Description

@JasonWhall

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)

  • Self-Hosted
  • Microsoft Hosted
  • VMSS Pool
  • Container

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions