diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c0fff2004..25ed09ce7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,7 @@ stages: - make install artifacts: when: on_success - expire_in: 1d + expire_in: 1y paths: - artifact/* diff --git a/src/server.cpp b/src/server.cpp index bab6af0aa..9a7fccb9d 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -3304,7 +3304,7 @@ std::string Server::getStatusString() os << "# Server: "; // Version - if (!g_settings->getBool("announce_mt_id")) + if (g_settings->getBool("announce_mt_id")) os << "version=" << "0.4.16"; else os << "version=" << g_version_string;