weird... didn't notice the "director" (instead of directory) typo until now, and everything worked fine, no errors o.o
Conversation
Notices
-
Nimda (nimda@wizard.casa)'s status on Sunday, 22-Oct-2023 06:43:47 JST Nimda -
silverpill (silverpill@mitra.social)'s status on Sunday, 22-Oct-2023 06:43:47 JST silverpill >git checkout main
It appears you're building the development version of Mitra from main branch.
To build a specific release you can run git checkout v2.1.0. Or maybe I should create a separate branch for stable code? -
Nimda (nimda@wizard.casa)'s status on Sunday, 22-Oct-2023 06:43:48 JST Nimda Upgraded to mitra 2.1.0
# Pull newest mitra cd ~/mitra/ && git checkout main git pull cargo build --release --features production # Update mitra-web VERSION=$(grep -m 1 "version = \"" /home/mitra/mitra/mitra-config/Cargo.toml | grep -o [0-9].*[0-9]) wget -O /home/mitra/mitra-web/mitra-web.tar.gz "https://codeberg.org/silverpill/mitra-web/releases/download/v$VERSION/mitra-web_$VERSION.tar.gz" tar xvfz /home/mitra/mitra-web/mitra-web.tar.gz --director /home/mitra/mitra-web # Update binaries and restart mitra sudo systemctl stop mitra sudo cp ~/mitra/target/release/mitra /usr/local/bin sudo cp ~/mitra/target/release/mitractl /usr/local/bin sudo systemctl start mitra
update script doesn't build mitra-web anymore
-