this post was submitted on 26 Jun 2023
1 points (100.0% liked)

lemmywinks

1 readers
0 users here now

founded 1 year ago
MODERATORS
 

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
no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here