-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modifying the logic of uploading assets for proper log statements #9740
Conversation
"UploadAssetError": "An unexpected error occurred while uploading the asset: %s", | ||
"UploadAssetSuccess": "Uploaded asset successfully: %s", | ||
"UploadAssetSuccess": "Uploaded file successfully: '%s'", | ||
"NoAssetFoundToUpload": "No assets were found to upload.", | ||
"ReleaseNotesFileIsDirectoryError": "Release notes file: %s is a directory and not a file.", | ||
"AssetIsDirectoryError": "The asset is a directory and not a file. Skipping uploading directory: %s", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to be removed?
"MissingAssetError": "File not found: %s", | ||
"MultipleReleasesFoundError": "Only 1 release was expected but more than 1 release was found for tag: %s. Unable to perform the action.", | ||
"MultipleTagFound": "Only 1 tag was expected but more than 1 tag was found for the given commit: %s. Unable to perform the action.", | ||
"NoTagFound": "No tag was found for the provided target: %s. Skipping further steps...", | ||
"NoTagFound": "Release will not be created as no tags could be found for the target commit. For more details check out the ‘Tag Source’ section in documentation: https://aka.ms/AA4f03a.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aka.ms/GitHubReleaseTaskParameters ?
return; | ||
} | ||
|
||
assets = assets.filter(asset => Utility.isFile(asset)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should include a log that folders ' , , , ' will be skipped?
* inputs error handling for yaml flow * Adding telemetry points * addressing comments
Issues fixed: