Skip to content
Snippets Groups Projects
Commit ef085885 authored by Geoffrey Métais's avatar Geoffrey Métais
Browse files

Add VLC core revision in About section

parent 64c734ad
No related branches found
No related tags found
No related merge requests found
......@@ -224,9 +224,15 @@ def hostName() {
def revision() {
def code = new ByteArrayOutputStream()
def vlc = new ByteArrayOutputStream()
exec {
commandLine 'git', 'rev-parse', '--short', 'HEAD'
standardOutput = code
}
return code.toString()
exec {
commandLine 'git', 'rev-parse', '--short', 'HEAD'
workingDir '../vlc'
standardOutput = vlc
}
return code.toString()+"VLC: "+vlc.toString()
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment