Skip to content

Commit

Permalink
Merge pull request godotengine#87579 from akien-mga/3.x-year-2024
Browse files Browse the repository at this point in the history
[3.x] Update `year` property in `version.py` to 2024
  • Loading branch information
akien-mga authored Jan 26, 2024
2 parents 584dc09 + f61e249 commit e184e62
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
6 changes: 6 additions & 0 deletions core/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@

#include "core/version_generated.gen.h"

// Copied from typedefs.h to stay lean.
#ifndef _STR
#define _STR(m_x) #m_x
#define _MKSTR(m_x) _STR(m_x)
#endif

// Godot versions are of the form <major>.<minor> for the initial release,
// and then <major>.<minor>.<patch> for subsequent bugfix releases where <patch> != 0
// That's arbitrary, but we find it pretty and it's the current policy.
Expand Down
14 changes: 5 additions & 9 deletions platform/windows/godot_res.rc
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
#include "core/version.h"
#ifndef _STR
#define _STR(m_x) #m_x
#define _MKSTR(m_x) _STR(m_x)
#endif

GODOT_ICON ICON platform/windows/godot.ico

1 VERSIONINFO
FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0
PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0
FILEOS 4
FILETYPE 1
FILEVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0
PRODUCTVERSION VERSION_MAJOR,VERSION_MINOR,VERSION_PATCH,0
FILEOS 4
FILETYPE 1
BEGIN
BLOCK "StringFileInfo"
BEGIN
Expand All @@ -21,7 +17,7 @@ BEGIN
VALUE "FileVersion", VERSION_NUMBER
VALUE "ProductName", VERSION_NAME
VALUE "Licence", "MIT"
VALUE "LegalCopyright", "Copyright (c) 2007-" _MKSTR(VERSION_YEAR) " Juan Linietsky, Ariel Manzur and contributors"
VALUE "LegalCopyright", "(c) 2007-present Juan Linietsky, Ariel Manzur and Godot Engine contributors"
VALUE "Info", "https://godotengine.org"
VALUE "ProductVersion", VERSION_FULL_BUILD
END
Expand Down
4 changes: 1 addition & 3 deletions thirdparty/miniupnpc/src/miniupnpcstrings.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#ifndef MINIUPNPCSTRINGS_H_INCLUDED
#define MINIUPNPCSTRINGS_H_INCLUDED

#include "core/version.h"

#define OS_STRING VERSION_NAME "/1.0"
#define OS_STRING "Godot Engine/1.0"
#define MINIUPNPC_VERSION_STRING "2.2.5"

#if 0
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
patch = 0
status = "beta"
module_config = ""
year = 2022
year = 2024
website = "https://godotengine.org"
docs = "3.5"

0 comments on commit e184e62

Please sign in to comment.