Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

Print version number / git commit in log #170

Open
neox387 opened this issue Mar 22, 2019 · 2 comments
Open

Print version number / git commit in log #170

neox387 opened this issue Mar 22, 2019 · 2 comments

Comments

@neox387
Copy link
Contributor

neox387 commented Mar 22, 2019

@piejanssens
To print the version or commit Premiumizer is running on in the log for debugging purposes it needs git, but since docker does not have git installed in the container, I can't get commit it's running on...

So would need to do it manually something like i'm doing with:
config_version = 2.1
req_version = 8.4

but then directly in the premiumizer.py file maybe.. although this would mean on every PR that version number needs to be bumped ..

@piejanssens
Copy link
Owner

Maybe it can be done from the docker file.

@stale
Copy link

stale bot commented Dec 29, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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

No branches or pull requests

2 participants