Skip to content

Commit

Permalink
Add a counter to show how many bundles have been pushed and how many …
Browse files Browse the repository at this point in the history
…are left.
  • Loading branch information
chrisgavin committed Apr 6, 2022
1 parent 2e662d4 commit 53aed4f
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 53aed4f

Please sign in to comment.