Git - How do I manage built files in different branches?

后端 未结 5 659
滥情空心
滥情空心 2021-01-07 23:21

Some Background

I have been using Git for a while now. The projects that I have been working on have not been too complicated in regards to branches/tags.

5条回答
  •  佛祖请我去吃肉
    2021-01-08 00:08

    The problem is that you need to get back the right binaries:

    • not only need for the right branch,
    • but also for the right version

    The last point is not overly important if you keep developing the latest versions of your 2 branches (and accept to rebuilt everything if you checkout an old tag and branch from there).
    But still, if after a build you automatically publish those '.o' files into a repository made for managing binaries, that would solve your problem neatly.
    A local Nexus repo for instance would be appropriate.

提交回复
热议问题