From a0a377177cfe056f1a337ea02710bb05127f5bb0 Mon Sep 17 00:00:00 2001 From: Filip Maciejewski Date: Sat, 7 Oct 2023 17:19:32 +0200 Subject: [PATCH] Prepare release 1.15.0 --- .gitignore | 4 ++-- .hemtt/hooks/{post_release => pre_build}/set_version.rhai | 4 ++-- addons/main/script_version.hpp | 4 ++-- meta.cpp | 2 ++ 4 files changed, 8 insertions(+), 6 deletions(-) rename .hemtt/hooks/{post_release => pre_build}/set_version.rhai (85%) create mode 100644 meta.cpp diff --git a/.gitignore b/.gitignore index 09df7b0..25afacd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,8 @@ # Build output -.hemttout/* +/.hemttout/ # Releases -releases/* +/releases/ hemtt hemtt.exe diff --git a/.hemtt/hooks/post_release/set_version.rhai b/.hemtt/hooks/pre_build/set_version.rhai similarity index 85% rename from .hemtt/hooks/post_release/set_version.rhai rename to .hemtt/hooks/pre_build/set_version.rhai index 537559e..0bf7333 100644 --- a/.hemtt/hooks/post_release/set_version.rhai +++ b/.hemtt/hooks/pre_build/set_version.rhai @@ -1,5 +1,5 @@ -let modCpp = HEMTT_OUTPUT +let modCpp = HEMTT_VFS .join("mod.cpp") .open_file() .read() @@ -7,7 +7,7 @@ let modCpp = HEMTT_OUTPUT modCpp.replace("0.0.0", `${HEMTT_PROJECT_VERSION_MAJOR}.${HEMTT_PROJECT_VERSION_MINOR}.${HEMTT_PROJECT_VERSION_PATCH}`); -HEMTT_OUTPUT +HEMTT_VFS .join("mod.cpp") .create_file() .write(modCpp) diff --git a/addons/main/script_version.hpp b/addons/main/script_version.hpp index c428aa9..920ea12 100644 --- a/addons/main/script_version.hpp +++ b/addons/main/script_version.hpp @@ -1,3 +1,3 @@ #define MAJOR 1 -#define MINOR 14 -#define PATCH 4 +#define MINOR 15 +#define PATCH 0 diff --git a/meta.cpp b/meta.cpp new file mode 100644 index 0000000..7f8d960 --- /dev/null +++ b/meta.cpp @@ -0,0 +1,2 @@ +protocol = 1; +publishedid = 1934142795;