From 4199fa5c482326275ecc958b583f2da7d1aacc27 Mon Sep 17 00:00:00 2001 From: Tim Vaillancourt Date: Fri, 8 Dec 2023 00:24:10 +0100 Subject: [PATCH] Remove stale RELEASE_VERSION file (#1349) Signed-off-by: Tim Vaillancourt --- RELEASE_VERSION | 1 - build.sh | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) delete mode 100644 RELEASE_VERSION diff --git a/RELEASE_VERSION b/RELEASE_VERSION deleted file mode 100644 index 45a1b3f44..000000000 --- a/RELEASE_VERSION +++ /dev/null @@ -1 +0,0 @@ -1.1.2 diff --git a/build.sh b/build.sh index b75891553..0b4991815 100755 --- a/build.sh +++ b/build.sh @@ -52,10 +52,10 @@ main() { RELEASE_VERSION=$(git describe --abbrev=0 --tags | tr -d 'v') fi if [ -z "${RELEASE_VERSION}" ] ; then - RELEASE_VERSION=$(cat RELEASE_VERSION) + echo "RELEASE_VERSION must be set" + exit 1 fi - buildpath=/tmp/gh-ost-release target=gh-ost timestamp=$(date "+%Y%m%d%H%M%S")