Skip to content
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

Merged
merged 4 commits into from
Mar 11, 2019

Conversation

mdmdakbar
Copy link
Contributor

Issues fixed:

  • Improve the log for uploading files
  • Improve logs in case no tags are found

"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",
Copy link
Member

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.",
Copy link
Member

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));
Copy link
Member

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?

mdmdakbar and others added 3 commits March 7, 2019 15:16
* inputs error handling for yaml flow

* Adding telemetry points

* addressing comments
@mdmdakbar mdmdakbar merged commit b260810 into master Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants