ekatsah / proj402

Source code of cerkinfo's courses plateform
cours.cerkinfo.be
8 stars 6 forks source link

Afficher la version en production #39

Closed C4ptainCrunch closed 12 years ago

C4ptainCrunch commented 12 years ago

Ce serait cool d'afficher quelque part la version/le commit qui tourne en prod

C4ptainCrunch commented 12 years ago
< hsteak> echo "VERSION = '"`git log | head -n 1 | sed "s/commit \(.\{10\}\).*/\1'/"` > version.py
< hsteak> pour ceux qui sont curieux