Remove hash_version.sh - no longer needed on windows now

* The VS project fetches the git hash if we're in a git clone inside the
  build process.
This commit is contained in:
baldurk
2017-12-14 13:36:10 +00:00
parent ac5574c5c7
commit 8c241f13b7
2 changed files with 1 additions and 17 deletions
+1 -4
View File
@@ -15,10 +15,7 @@ if [ $# -ne 1 ] || [ $1 != "autobuild" ]; then
echo "Have you rebuilt the documentation? (cd docs/ && ./make.sh htmlhelp)"
read;
echo "Have you marked the git commit hash in version info? (./scripts/hash_version.sh)"
read;
echo "Now compile 32-bit and 64-bit Release builds."
echo "Have you built 32-bit and 64-bit Release builds?"
read;
echo "=== Building folders"
-13
View File
@@ -1,13 +0,0 @@
#!/bin/bash
if [ ! -f renderdoc/data/resource.h ]; then
echo "This script should be run from the root of the checkout.";
echo "e.g. ./scripts/hash_version.sh";
exit;
fi
GIT_HASH=`git status > /dev/null 2>&1 && git rev-parse HEAD || echo NO_GIT_COMMIT_HASH_DEFINED`;
rm -f ver
sed "s/NO_GIT_COMMIT_HASH_DEFINED/$GIT_HASH/" renderdoc/api/replay/version.h > ver && mv ver renderdoc/api/replay/version.h
rm -f ver