On GitLab, you can browse and download job artifacts at annoyingly redirected URLs like these:
- https://gitlab.com/NatoBoram/eldarya-enhancements/-/jobs/artifacts/master/browse/dist?job=deploy
- https://gitlab.com/NatoBoram/eldarya-enhancements/-/jobs/artifacts/master/file/dist/eldarya-enhancements.min.user.js?job=deploy
- https://gitlab.com/NatoBoram/eldarya-enhancements/-/jobs/artifacts/master/raw/dist/eldarya-enhancements.min.user.js?job=deploy
I can use these URLs as a download link in the release page. However, I'm distributing a userscript; users do not want to download them, they want to view them (so TamperMonkey and Greasemonkey can install them).
How do I make it so users can install a userscript from an arbitrary branch/tag/commit without quitting GitLab?