HOW TO UPGRADE LEMMY
mv lemmy lemmy-<old-version>
git clone https://github.com/LemmyNet/lemmy.git lemmy
cd lemmy
git checkout <latest-version>
E.g.
git checkout 0.17.4
git submodule init
git submodule update --recursive --remote
echo "pub const VERSION: &str = \"$(git describe --tag)\";" > "crates/utils/src/version.rs"
cargo build --release
strip target/release/lemmy_server
cp target/release/lemmy_server /usr/bin/lemmy_server
You must log in or # to comment.
Why does ./src/shared/version.ts
export const VERSION = "unknown version";
Not display with “0.17.3” but displays with “v0.17.3” ? Is that intentional? Does the version number require it begins with an alphabetic character?
I have not seen this on other instances, so I am just curious.
Actually, even on lemmy.ml it does not display the UI version. So maybe that is intentional.
Is the UI version always in sync (i.e. compatible with) the backend version?