How do you track the build count of your library when there are multiple authors using version control?

前端 未结 4 1658
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-14 02:12

I don\'t know if this is something common for people to do or not, but I personally always keep track of the number of times I built my code. That is, both the number of tim

4条回答
  •  庸人自扰
    2021-01-14 02:20

    I can't (read I don't want to) go back to the commit where the branch took off and find that it was 100 so I compute ... I want this to be automatic

    Dirty idea: each build add string to versioned file (or to one from pair PASS/FAIL depending on result), slightly different for each branch. Merge branches will require manual merging of this signal file(s), where differences in strings decoration make this task easier. wc -l later will count numbers

提交回复
热议问题