Download ZIP points to wrong url when not on master branch

It’s on gh-pages branch, but “Download ZIP” url still points to the zip file url containing files of master branch, but not of current branch like https://github.com/Dreamacro/clash-dashboard/archive/refs/heads/gh-pages.zip

3 Likes

Try with this link

https://github.com/Dreamacro/clash-dashboard/zipball/gh-pages

by adding zipball in the url

I know the workaround, i have already written down the correct url, i just want to report bug.

I can confirm this here. Same issue. No matter which branch I am on, it always downloads main.

Same here. As a teacher, it’s really ennoying to me. Is there an official bug reporting process for Github?

It works again
:tada: