From 8c241f13b71853ed522dccdbd3c51b6ac8a63ff4 Mon Sep 17 00:00:00 2001 From: baldurk Date: Thu, 14 Dec 2017 13:36:10 +0000 Subject: [PATCH] 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. --- scripts/dist.sh | 5 +---- scripts/hash_version.sh | 13 ------------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 scripts/hash_version.sh diff --git a/scripts/dist.sh b/scripts/dist.sh index e06c1bcbd..523bc720f 100644 --- a/scripts/dist.sh +++ b/scripts/dist.sh @@ -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" diff --git a/scripts/hash_version.sh b/scripts/hash_version.sh deleted file mode 100644 index 0903a1f3c..000000000 --- a/scripts/hash_version.sh +++ /dev/null @@ -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