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

Android : Making Listview full screen -

jsf - How to order SelectItems in custom renderer extending MyFaces HtmlMenuRenderer -

sql server - SQL, get max id of column -