Skip to content

Commit

Permalink
Merge pull request #67 from github/count-pushed-bundles
Browse files Browse the repository at this point in the history
Add a counter to show how many bundles have been pushed and how many are left.
  • Loading branch information
chrisgavin authored Apr 6, 2022
2 parents 2e662d4 + 53aed4f commit 719e5d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/push/push.go
Original file line number Diff line number Diff line change
Expand Up @@ -348,9 +348,9 @@ func (pushService *pushService) pushReleases() error {
if err != nil {
return errors.Wrap(err, "Error reading releases.")
}
for _, releasePathStat := range releasePathStats {
for index, releasePathStat := range releasePathStats {
releaseName := releasePathStat.Name()
log.Debugf("Pushing CodeQL bundles release %s...", releaseName)
log.Debugf("Pulling CodeQL bundle %s (%d/%d)...", releaseName, index+1, len(releasePathStats))
release, err := pushService.createOrUpdateRelease(releaseName)
if err != nil {
return err
Expand Down

0 comments on commit 719e5d6

Please sign in to comment.