2-Version software: Best VCS approach?

后端 未结 3 1212
太阳男子
太阳男子 2021-02-10 10:05

I suppose I\'d better explain my situation:

I\'m in the process of developing some software, and I\'m at the stage where I\'d like to split my project into two branches

3条回答
  •  灰色年华
    2021-02-10 10:33

    If the only issue is a packaging and release management issue, you could isolate those steps (rename the package, and test it in a target environment) from the historization cycle within one Git repo.

    So you could go on, separate your development, one feature per branch, keeping the same package names for both (in order to easily merge fixes from one to another).
    But then, to test and deploy one of those two versions, you could have a script in charge of renaming the packages, recompiling, packaging (jar) and deploying the result in the target test environment.

提交回复
热议问题