From ac6e8e2914888d77625bb3b67ff6aaea9fc6cbab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Blot?= Date: Fri, 15 Jun 2018 09:16:48 +0200 Subject: [PATCH] Version scheme change: 0.5.0 -> 5.0.0 (#7449) * Version scheme change: 0.5.0 -> 5.0.0 --- CMakeLists.txt | 4 ++-- README.md | 8 +++++--- doc/client_lua_api.txt | 2 +- doc/menu_lua_api.txt | 2 +- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 33e7c93b3..7c5fdb38b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,8 +15,8 @@ set(GCC_MINIMUM_VERSION "4.8") set(CLANG_MINIMUM_VERSION "3.4") # Also remember to set PROTOCOL_VERSION in network/networkprotocol.h when releasing -set(VERSION_MAJOR 0) -set(VERSION_MINOR 5) +set(VERSION_MAJOR 5) +set(VERSION_MINOR 0) set(VERSION_PATCH 0) set(VERSION_EXTRA "" CACHE STRING "Stuff to append to version string") diff --git a/README.md b/README.md index 61cf57175..ebfad24be 100644 --- a/README.md +++ b/README.md @@ -431,9 +431,11 @@ This is how we build Windows releases. Version scheme -------------- -Minetest doesn't follow semver. Instead, we do something roughly similar to 0.major.minor. +Minetest partially follows semver (major.minor.patch). -Since 0.5.0-dev and 0.4.17-dev, the dev notation refers to the next release, -ie: 0.5.0-dev is the development version leading to 0.5.0. +Since 5.0.0-dev and 0.4.17-dev, the dev notation refers to the next release, +ie: 5.0.0-dev is the development version leading to 5.0.0. Prior to that, we used oldversion-dev. + +Semver was adopted after 0.4.X series. Before that we used 0.major.minor scheme. diff --git a/doc/client_lua_api.txt b/doc/client_lua_api.txt index 46b47d892..57876670c 100644 --- a/doc/client_lua_api.txt +++ b/doc/client_lua_api.txt @@ -1,4 +1,4 @@ -Minetest Lua Client Modding API Reference 0.5.0 +Minetest Lua Client Modding API Reference 5.0.0 ================================================ * More information at * Developer Wiki: diff --git a/doc/menu_lua_api.txt b/doc/menu_lua_api.txt index 6b81e6bf5..291e5f7a5 100644 --- a/doc/menu_lua_api.txt +++ b/doc/menu_lua_api.txt @@ -1,4 +1,4 @@ -Minetest Lua Mainmenu API Reference 0.5.0 +Minetest Lua Mainmenu API Reference 5.0.0 ======================================== Introduction