diff --git a/Makefile b/Makefile index 48ed4679..ca7c9527 100644 --- a/Makefile +++ b/Makefile @@ -73,8 +73,8 @@ version: @echo " VER $(VERSION)" $(shell sed -i -r -s 's/[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/$(VERSION)/g' $(VERSION_FILES)) $(shell sed -i -r -s 's/[0-9]+\.[0-9]+\.[0-9]+/$(VERSION_S)/g' $(VERSION_FILES)) - @echo "#define MAJOR $(MAJOR)\n#define MINOR $(MINOR)\n#define PATCHLVL $(PATCH)\n#define BUILD $(BUILD)" > "addons/main/script_version.hpp" - @echo "#define TAC_VERSION_MAJOR $(MAJOR)\n#define TAC_VERSION_MINOR $(MINOR)\n#define TAC_VERSION_PATCH $(PATCH)\n#define TAC_VERSION_BUILD $(BUILD)" > "extensions/src/common/version.h" + @echo -e "#define MAJOR $(MAJOR)\n#define MINOR $(MINOR)\n#define PATCHLVL $(PATCH)\n#define BUILD $(BUILD)" > "addons/main/script_version.hpp" + @echo -e "#define TAC_VERSION_MAJOR $(MAJOR)\n#define TAC_VERSION_MINOR $(MINOR)\n#define TAC_VERSION_PATCH $(PATCH)\n#define TAC_VERSION_BUILD $(BUILD)" > "extensions/src/common/version.h" commit: @echo " GIT commit release preparation" diff --git a/addons/main/script_version.hpp b/addons/main/script_version.hpp index 62331ff5..4ce3498e 100644 --- a/addons/main/script_version.hpp +++ b/addons/main/script_version.hpp @@ -1 +1,4 @@ -#define MAJOR 1\n#define MINOR 14\n#define PATCHLVL 4\n#define BUILD 36 +#define MAJOR 1 +#define MINOR 14 +#define PATCHLVL 4 +#define BUILD 36 diff --git a/extensions/src/common/version.h b/extensions/src/common/version.h index 683521ad..a0c161b3 100644 --- a/extensions/src/common/version.h +++ b/extensions/src/common/version.h @@ -1 +1,4 @@ -#define TAC_VERSION_MAJOR 1\n#define TAC_VERSION_MINOR 14\n#define TAC_VERSION_PATCH 4\n#define TAC_VERSION_BUILD 36 +#define TAC_VERSION_MAJOR 1 +#define TAC_VERSION_MINOR 14 +#define TAC_VERSION_PATCH 4 +#define TAC_VERSION_BUILD 36