Jabba-Team / jabba

(cross-platform) Java Version Manager
Apache License 2.0
141 stars 11 forks source link

Review installation Process #11

Open patrick-mccourt opened 2 years ago

patrick-mccourt commented 2 years ago

Review the install process.

The Windows installer seems to depend on fetching the latest release with the Github API and reading the version to install from that version's release notes.

The bash script looks at a Github Pages deployment of a file that contains the latest version. https://jabba-team.github.io/jabba/latest

This feels a bit janky, the GitHub Releases API should give everything needed: https://api.github.com/repos/Jabba-Team/jabba/releases/latest

For this issue we can discuss alternative ways of handling this.