Footer version numbers #1497
-
How do you set the version numbers in the footer? For example, When I build Lemmy/Lemmy-UI, the version comes up as: BE: unknown version Is this a compile time option? |
Beta Was this translation helpful? Give feedback.
Replies: 12 comments 3 replies
-
It comes from the docker build, and the git tag:
|
Beta Was this translation helpful? Give feedback.
-
Thank you! That sets the BE: version, but not the UI version. Is there a second item for the UI? |
Beta Was this translation helpful? Give feedback.
-
Only one version is displayed if the FE and BE versions are the same. |
Beta Was this translation helpful? Give feedback.
-
I just rebuilt Lemmy and Lemmy-ui at version 0.17.3. The UI string is still showing unknown version. Looks like this Any ideas. |
Beta Was this translation helpful? Give feedback.
-
It seems the UI version should have a v at the front and the backend no v. E.g. v0.17.3. It must have been a mistake when making the tag. |
Beta Was this translation helpful? Give feedback.
-
Ok. So it'll probably just work on the next release? |
Beta Was this translation helpful? Give feedback.
-
Provided a similar mistake doesn’t happen again, yes. |
Beta Was this translation helpful? Give feedback.
-
Thank you. I appreciate your help. |
Beta Was this translation helpful? Give feedback.
-
hmm but if i just install with cargo (following the docs), i can't modify the source anymore to set a version... edit: i am incorrect , still not very handy |
Beta Was this translation helpful? Give feedback.
-
@SleeplessOne1917 we should make those a uniform Lets leave a lot of these smaller issues until after the http rework. |
Beta Was this translation helpful? Give feedback.
-
I'm doing "Install from scratch" and I can't get the front end to show the right version number. I'm on 0.19.9. The backend works fine, but even manually updating /src/shared/version.ts to a value, it will not show up, always "unknown version". Any help/info is appreciated! |
Beta Was this translation helpful? Give feedback.
-
I believe this will work.
|
Beta Was this translation helpful? Give feedback.
@markim
I believe this will work.