In the zipdl lambda source code, the `branch` is incorrectly set to a variable named `branch_name` which is different from other sources. That means the `archive_url` is incorrectly constructed for `github`. It should read as follows: ```python branch = event['body-json']['ref'].replace('refs/heads/', '') archive_url = archive_url.replace('{archive_format}', 'zipball').replace('{/ref}', '/' + branch) ```
In the zipdl lambda source code, the
branchis incorrectly set to a variable namedbranch_namewhich is different from other sources.That means the
archive_urlis incorrectly constructed forgithub.It should read as follows: