added make version command

to quickly set the mods version to the git tag
or git-$hash if we are on a development version
This commit is contained in:
Matthias Mailänder
2013-04-15 23:02:18 +02:00
parent 1db4cb1867
commit 0c169bcfd3
2 changed files with 8 additions and 7 deletions

View File

@@ -56,11 +56,6 @@ cp thirdparty/Mono.Nat.dll packaging/built
# Copy game icon for windows package
cp OpenRA.Game/OpenRA.ico packaging/built
# Update mod versions
sed "s/{DEV_VERSION}/$TAG/" ./mods/ra/mod.yaml > ./packaging/built/mods/ra/mod.yaml
sed "s/{DEV_VERSION}/$TAG/" ./mods/cnc/mod.yaml > ./packaging/built/mods/cnc/mod.yaml
sed "s/{DEV_VERSION}/$TAG/" ./mods/d2k/mod.yaml > ./packaging/built/mods/d2k/mod.yaml
# Remove demo.mix from cnc
rm ./packaging/built/mods/cnc/bits/demo.mix