Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Github API to detect new releases #621

Open
lukevella opened this issue Mar 29, 2023 · 1 comment
Open

Use Github API to detect new releases #621

lukevella opened this issue Mar 29, 2023 · 1 comment

Comments

@lukevella
Copy link
Owner

We should be able to use the github releases api to get the latest version and by comparing it to NEXT_PUBLIC_APP_VERSION in the app we can detect whether there are any updates. This will help self-hosters keep there instances up to date.

Starting point in the codebase would be here.

If someone picks this up, don't worry about styling. Once we detect that there is a new version we can show an "*" next to the version number to indicate there is a new version.

@lukevella lukevella added ✨ enhancement ✅ good first issue Feel free to pick this up labels Mar 29, 2023
@zeeshanbhati
Copy link

Hey @lukevella i would like to take this up , I would like to discuss the approach with you , do you want the github API directly at the frontend we could create a hook and can use it in the AppVersion Component or else we can create our own API which ping's github api

@lukevella lukevella removed the ✅ good first issue Feel free to pick this up label Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants