From b038213e636c055ad7fdf98d0fc294200ab849a5 Mon Sep 17 00:00:00 2001 From: "Brian J. Cardiff" Date: Tue, 21 May 2019 22:38:30 -0300 Subject: [PATCH] Move VERSION inside ./src (#7804) --- bin/ci | 2 +- VERSION => src/VERSION | 0 src/compiler/crystal/config.cr | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename VERSION => src/VERSION (100%) diff --git a/bin/ci b/bin/ci index 1fcbba1071b1..954bd2df06df 100755 --- a/bin/ci +++ b/bin/ci @@ -98,7 +98,7 @@ prepare_build() { verify_version() { # If building a tag, check it matches with file - FILE_VERSION=`cat VERSION` + FILE_VERSION=`cat ./src/VERSION` if [ "$FILE_VERSION" != "$CURRENT_TAG" ] then diff --git a/VERSION b/src/VERSION similarity index 100% rename from VERSION rename to src/VERSION diff --git a/src/compiler/crystal/config.cr b/src/compiler/crystal/config.cr index 296f31f3d881..5529fb117c1a 100644 --- a/src/compiler/crystal/config.cr +++ b/src/compiler/crystal/config.cr @@ -5,7 +5,7 @@ module Crystal end def self.version - {{ read_file("#{__DIR__}/../../../VERSION").chomp }} + {{ read_file("#{__DIR__}/../../VERSION").chomp }} end def self.llvm_version