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

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -