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

Make use of go generated commit and version #855

Merged
merged 1 commit into from Dec 22, 2023

Conversation

ChrisSchinnerl
Copy link
Member

Updates main.go to match hostd by making use of the build package. The resulting logging looks like this

2023-12-21T18:03:39+01:00	INFO	renterd/main.go:398	renterd	{"version": "v0.7.1-45-gf1febab2", "network": "Mainnet", "commit": "f1febab2", "buildDate": "2023-12-21T16:10:27+01:00"}

and

Commit: f1febab2
Build Date: 2023-12-21 16:10:27 +0100 CET

@ChrisSchinnerl ChrisSchinnerl self-assigned this Dec 21, 2023
Copy link
Member

@peterjan peterjan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

@ChrisSchinnerl ChrisSchinnerl merged commit 4ec88cd into dev Dec 22, 2023
6 checks passed
@ChrisSchinnerl ChrisSchinnerl deleted the chris/use-build-vars branch December 22, 2023 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Released
Development

Successfully merging this pull request may close these issues.

None yet

2 participants