update version each time git push is done ?
Posted
by
Adam Ramadhan
on Stack Overflow
See other posts from Stack Overflow
or by Adam Ramadhan
Published on 2010-12-26T05:08:42Z
Indexed on
2010/12/26
5:54 UTC
Read the original article
Hit count: 313
git
|post-update
how do we do like changing version ( each +1 ) using git on each push?
example i have a 2 php file
libs/lib1.php
libs/lib2.php
on each header usually there is some information like
/**
* LIB1.PHP
* this libs does something like this
* and that this is a doc for you
* @version 145
* @todo something todo
* @author DAMS
*/
/**
* LIB2.PHP
* this libs does something like this
* and that this is a doc for you
* @version 445
* @todo something todo
* @author DAMS
*/
can we search and add +1 do version every time we push?
© Stack Overflow or respective owner