8000 Git export: create GIT_REVISION file into project root on create release by zealot128 · Pull Request #85 · dresden-weekly/ansible-rails · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Git export: create GIT_REVISION file into project root on create release #85

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

zealot128
Copy link
Contributor

plain file with the deployed git commit hash.

Usecase:

  • Can be read on app boot / put into env variable,
  • for error tracking, logging etc. to reference the relevant git commit that caused an exception
  • show version of installed software to user somewhere in ui

Other ideas for a name for that kind of file? Any best practice/standard name?

Usecase: Can be read on app boot and put into env variable, for error tracking, logging etc.
@arBmind
Copy link
Member
arBmind commented Apr 29, 2019

Good addition.

This requires a bit of documentation. I'm also not sure if we should enable this by default.

I will ask some colleagues about the filename.

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

Successfully merging this pull request may close these issues.

2 participants
0