Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

rahulptl165
Copy link
Contributor

Fixes #3760 by @hichemfanter

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project follows, as appropriate.
  • The changes are appropriately documented (if applicable).
  • The changes have sufficient test coverage (if applicable).
  • The testsuite passes successfully on my local machine (if applicable).

Summarize your changes:

  • Integrated cli-progress: Replaced the previous setStatusLine upload counter with a cli-progress.SingleBar instance to show upload progress visually.
  • Progress Bar Features:
  1. Displays the release name (e.g., Uploading to v1.0.0).
  2. Shows a bar, percentage, and current/total count (e.g., |#######............| 50% (5/10)).
  3. Uses the shades_classic preset for a clean, styled look.

Implementation Details:

  • Added cli-progress to dependencies.
  • Initialized the bar with total artifact count before uploads.
  • Incremented the bar in the done callback after each artifact is processed.
  • Stopped the bar after all uploads complete.

@rahulptl165 rahulptl165 requested a review from a team as a code owner March 1, 2025 06:37
@rahulptl165 rahulptl165 changed the title Added progress bar to git hub publisher feat: Added progress bar to git hub publisher Mar 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitHub publisher: show upload progress

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.