Skip to content

Commit

Permalink
Add releases debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
n8felton committed Jan 26, 2024
1 parent 8dd0834 commit e495227
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SharedProcessors/GitLabReleasesInfoProvider.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import os
import re
import ssl
from pprint import pformat
from urllib.request import Request, urlopen

from autopkglib import Processor, ProcessorError, get_autopkg_version
Expand Down Expand Up @@ -119,6 +120,7 @@ def get_releases(self, latest=False):
releases_endpoint += "/permalink/latest"
releases = self.gitlab_api_get(releases_endpoint)
releases = json.loads(releases)
self.output(pformat(releases), 3)
return releases

def get_release_link(self, releases, regex=None):
Expand Down

0 comments on commit e495227

Please sign in to comment.