Skip to content

Commit e4ca824

Browse files
committed
upgrade in validator
1 parent 809f656 commit e4ca824

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/sys/setup.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ std::string Setup::checkLatestedVersion(bool silent) {
481481
const auto latest_version = getLatestVersion();
482482
if (latest_version != Version::BRANCH) {
483483
if (!silent) {
484-
Log::get().info("Update to LODA " + latest_version + " available");
484+
Log::get().info("New LODA version available: " + latest_version);
485485
}
486486
return latest_version;
487487
}

validator/loda-validator.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ if [ -d $HOME/loda/programs/.git ]; then
2323
popd > /dev/null
2424
fi
2525

26+
echo "Upgrading LODA"
27+
loda upgrade
28+
2629
echo "Waiting for network"
2730
while ! ping -c 1 loda-lang.org &> /dev/null 2>&1; do
2831
sleep 5

0 commit comments

Comments
 (0)