How to append Git commit information the built website -


i use automated script latest (or specific) git commit, build , deploy platform. want append commit details upon each build, possible see commit used build platform.

what strategy achieve that?

thank in advance

eduardo

this command can current commit digest.

git rev-parse --short head 

output:

3ba7598 

you can save digest upon each build.


Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Restarting Supervisor and effect on FlaskSocketIO -

android - Format a french phone number -