Skip to content

Commit

Permalink
HEMTT - Update set_version hook for 1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
veteran29 committed Nov 26, 2023
1 parent 1c98308 commit b98ef8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .hemtt/hooks/pre_build/set_version.rhai
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ let modCpp = HEMTT_VFS
.read()
;

modCpp.replace("0.0.0", `${HEMTT_PROJECT_VERSION_MAJOR}.${HEMTT_PROJECT_VERSION_MINOR}.${HEMTT_PROJECT_VERSION_PATCH}`);
modCpp.replace("0.0.0", HEMTT.project().version().to_string_short());

HEMTT_VFS
.join("mod.cpp")
Expand Down

0 comments on commit b98ef8a

Please sign in to comment.