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

building from source should set roc version #7030

Open
Anton-4 opened this issue Aug 27, 2024 · 1 comment
Open

building from source should set roc version #7030

Anton-4 opened this issue Aug 27, 2024 · 1 comment
Assignees
Labels
good first issue Good for newcomers

Comments

@Anton-4
Copy link
Collaborator

Anton-4 commented Aug 27, 2024

If you build Roc from source and execute roc version you'll get the default value "built-from-source".
It would be nice to print some useful info:

For those without git changes we can print the last commit hash and date of the commit:

built from commit faeea52, with commit timestamp Fri Aug 23 09:02:06 UTC 2024

And with changes:

built from commit faeea52 with additional changes. Commit timestamp: Fri Aug 23 09:02:06 UTC 2024

@Anton-4 Anton-4 added the good first issue Good for newcomers label Aug 27, 2024
@Hasnep
Copy link
Contributor

Hasnep commented Aug 27, 2024

I think I'd like to tackle this issue if nobody else has already started :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants
@Anton-4 @Hasnep and others