Skip to content

mrbindraw/ProjectVersionFromGit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ProjectVersionFromGit

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()

Install into Project

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.

Install into Unreal Engine

You can install it from the marketplace ProjectVersionFromGit

Manual:

  1. Download and extracting archive ProjectVersionFromGit-X.X.X-UE-X.X.zip from Releases to any disk path, for example: D:\Plugins
  2. Than open any terminal (cmd, powershell) in D:\Plugins folder
  3. 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
  1. If you see the message BUILD SUCCESSFUL in the terminal after the build is complete,
    copy the ProjectVersionFromGit folder from D:\Plugins\UE_5.4 to D:\EpicGames\UE_5.4\Engine\Plugins\Marketplace

Important

The engine path and folder names may differ on your system.