-
Notifications
You must be signed in to change notification settings - Fork 750
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
feat: extend version with more build info #4069
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for teslamate ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
I would imagine the nix flake build will have the same issue. The git repo stuff not available in the build. Think we will need to use environment variables, as per #3682 (comment). For Docker these need to be passed to the docker build command. Nix is easier, with something like this would create the environment variables (this needs to be used in appropriate place):
Although it is unfortunate you need the flockenzeit just to format the date time. This doesn't use the VERSION file, combining the two shouldn't be hard. |
Forgot to say:
|
Yeah, assume this as well. As we use a two staged docker build, we could add git in the builder step to have the command available with no real downside imo. Will test this. In the end build env are the best choice imo as well. |
closes: #3682