]> git.proxmox.com Git - mirror_edk2.git/commit
OvmfPkg/create-release.py: Support git hash versions
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 3 Jan 2014 19:19:38 +0000 (19:19 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 3 Jan 2014 19:19:38 +0000 (19:19 +0000)
commit57dcb83f5963b5e88c78381d1bc63db1fbb8f3ed
tree72b05d03f5af54b18bfdb40e1bfc9077366686bd
parent6d3d4a7e9fa89e66b27b5769e129e9234c0e4455
OvmfPkg/create-release.py: Support git hash versions

Previously we would run 'git svn info' if a .svn directory
wasn't found. This would fail if the current local commit
was not from git-svn.

Now we look for the svn info in the output from git log.
If the svn version is not in a git-svn-id tag from
git log, then we use the git commit hash.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15042 6f19259b-4bc3-4df7-8a09-765794883524
OvmfPkg/create-release.py