Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crystal 0.23 reports old version number #4642

Closed
need47 opened this issue Jun 30, 2017 · 5 comments
Closed

crystal 0.23 reports old version number #4642

need47 opened this issue Jun 30, 2017 · 5 comments

Comments

@need47
Copy link
Contributor

need47 commented Jun 30, 2017

I installed crystal 0.23 from source. I've the following requirements:

  • pre-compiled crystal-0.21.1-1-linux_x86-64
  • gc 7.6
  • llvm 3.9.1

In the source dir, I ran command 'make' and 'make spec'. All passed. But it seems crystal 0.23 is reporting 0.21.1 for me. See below.

$ ./crystal-0.21.1-1/bin/crystal -v
Crystal 0.21.1 [3c6c75e] (2017-03-06) LLVM 3.5.0

$ ./crystal-0.23.0-1/bin/crystal -v
Using compiled compiler at `.build/crystal'
Crystal 0.21.1 (2017-06-29) LLVM 3.9.1

@mverzilli mverzilli added this to the 0.23.1 milestone Jun 30, 2017
@makenowjust
Copy link
Contributor

Crystal grabs version number from git or environment variable on compile time. I guess @need47 builds crystal from tar ball source.

@need47
Copy link
Contributor Author

need47 commented Jun 30, 2017

@makenowjust Indeed, I used tar.gz

@matiasgarciaisaia
Copy link
Member

Moving out of 0.23.1 release since its not a regression - was happening from before.

It would be nice to fix it, anyway 👍

@matiasgarciaisaia matiasgarciaisaia removed this from the 0.23.1 milestone Jul 7, 2017
@straight-shoota
Copy link
Member

@makenowjust And it just took the 0.21.1 from the original compiler?

@matiasgarciaisaia
Copy link
Member

It seems so - I've downloaded the 0.22.0 zip, built it with 0.23.0, and got it to report 0.23.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants