This plugin set version for project from git tag format MAJOR.MINOR.PATCH also set branch name, commit hash and utc-datetime build.
C++/Blueprints functions:
- GetProjectVersion()
- GetProjectVersionMajor()
- GetProjectVersionMinor()
- GetProjectVersionPatch()
- GetProjectVersionBranchName()
- GetProjectVersionCommitHash()
- GetProjectVersionDateTimeBuild()
- GetProjectVersionFormatAll()
You can install manually by extracting archive ProjectVersionFromGit-X.X.X-UE-X.X.zip
from
Releases to your project plugins folder
or build example project ExamplePrj-UE-X.X-ProjectVersionFromGit-X.X.X.zip
.
You can install it from the marketplace ProjectVersionFromGit
Manual:
- Download and extracting archive
ProjectVersionFromGit-X.X.X-UE-X.X.zip
from Releases to any disk path, for example:D:\Plugins
- Than open any terminal (cmd, powershell) in
D:\Plugins
folder - Launch
RunUAT
in the terminal with arguments, for example:
Windows:
D:\EpicGames\UE_5.4\Engine\Build\BatchFiles\RunUAT.bat BuildPlugin -Plugin=D:\Plugins\ProjectVersionFromGit\ProjectVersionFromGit.uplugin -Package=D:\Plugins\UE_5.4\ProjectVersionFromGit -Rocket
Mac:
sh "/Users/Shared/Epic Games/UE_5.4/Engine/Build/BatchFiles/RunUAT.sh" BuildPlugin -Plugin="$PWD/ProjectVersionFromGit/ProjectVersionFromGit.uplugin" -Package="$PWD/5.4/ProjectVersionFromGit" -Rocket
- If you see the message
BUILD SUCCESSFUL
in the terminal after the build is complete,
copy theProjectVersionFromGit
folder fromD:\Plugins\UE_5.4
toD:\EpicGames\UE_5.4\Engine\Plugins\Marketplace
Important
The engine path and folder names may differ on your system.