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

前端 未结 4 1659
爱一瞬间的悲伤
爱一瞬间的悲伤 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:18

    Your solution with a build log (one line per build) seems pretty clever. You could add the IP (or Mac address) of the machine doing the build do you timstample so you would remove the risk of duplicated line. However depending of your VCS you probably have to merge manually your build log file. With git you can configure it so the merge will always keep both versions (and eventually sort lines by date, etc.)

提交回复
热议问题