Use main as default branch
This commit is contained in:
parent
0d0ec877eb
commit
b5417f998a
2 changed files with 4 additions and 4 deletions
|
|
@ -33,7 +33,7 @@ if __name__ == '__main__':
|
|||
api_token = os.environ.get('PRIVATE_TOKEN')
|
||||
gitlab = GitLab(gitlab_url, project_id, api_token)
|
||||
for distro in sys.argv[1:]:
|
||||
job = gitlab.getLastSuccessfulJob('master', 'squashfs_master')
|
||||
job = gitlab.getLastSuccessfulJob('main', 'squashfs_main')
|
||||
if job is not None:
|
||||
gitlab.downloadArtifact(job, 'images/debian-' + distro + '.dpkg-list', 'debian-' + distro + '.dpkg-list')
|
||||
if checkDebianDistro(distro) > 0:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue