Open Aisuko opened 6 months ago
Perhaps there're some api to directly query from github, I need to have a look, will update in the future.
For the frontend, I think we should follow the release version. For the backend, we need to have a backend API to return the version of the backend.
I feels like split it would be kind of meaningless if we want to update dynamically, github do has APIs to query latest version, which needs an auth key for each end, so that one function passes the auth key (in deployment env variable) can do the work for both ends instead of call different functions, that might make the code less tidy.
Hi @cbh778899. We want to add version as a constant value inside the frontend and the backend. So, we can get these numbers easier. We don't get these versions from GitHub. Here is a scenario, after we deployed these containers. We open the frontend. And it will show the version of current deployed code.
Hi @cbh778899. We want to add version as a constant value inside the frontend and the backend. So, we can get these numbers easier. We don't get these versions from GitHub. Here is a scenario, after we deployed these containers. We open the frontend. And it will show the version of current deployed code.
good idea, simple & easy
I believe this feature is necessary. It will be easy for us deal with the specific issues which were happened in the specific version of code.
Frontend version
Backend version