Skip to content

Commit

Permalink
Move VERSION inside ./src (#7804)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcardiff authored and RX14 committed May 22, 2019
1 parent 10665bf commit b038213
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/ci
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/compiler/crystal/config.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b038213

Please sign in to comment.