mirror of https://github.com/odrling/Aegisub
Write a msbuild xml file with the current version information
This commit is contained in:
parent
3ff6158d85
commit
6ed970ed5b
|
@ -67,6 +67,7 @@ svn-revision.h
|
||||||
svn_revision
|
svn_revision
|
||||||
svnmove.txt
|
svnmove.txt
|
||||||
git_version.h
|
git_version.h
|
||||||
|
git_version.xml
|
||||||
aegisub/tests/data
|
aegisub/tests/data
|
||||||
aegisub/tests/run
|
aegisub/tests/run
|
||||||
aegisub/tests/*.json
|
aegisub/tests/*.json
|
||||||
|
|
|
@ -58,3 +58,13 @@ esac
|
||||||
export BUILD_GIT_VERSION_NUMBER="${git_revision}"
|
export BUILD_GIT_VERSION_NUMBER="${git_revision}"
|
||||||
export BUILD_GIT_VERSION_STRING="${git_version_str}"
|
export BUILD_GIT_VERSION_STRING="${git_version_str}"
|
||||||
export VERSION_SOURCE="from git"
|
export VERSION_SOURCE="from git"
|
||||||
|
|
||||||
|
cat << EOF > build/git_version.xml
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<GitVersionNumber>${git_revision}</GitVersionNumber>
|
||||||
|
<GitVersionString>${git_version_str}</GitVersionString>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
||||||
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue