Mike McCune wrote:
If I tag a release in the SPACEWALK-0.4 release branch:

http://git.fedorahosted.org/git/spacewalk.git?p=spacewalk.git;a=commit;h=1ac7a83c472b8b6bf45bb54b6477c3c825254401

Do I need to push any of that into master? If not, won't the versions get out of date in master (behind the release branch)?

If you tag package in SPACEWALK-0.4 you will get another 0.4 version - 0.4.17-1 in your case. When you make some changes in master after branching you should bump up version number - to 0.5.0 in this case. Then after you tag the package you will get 0.5.1-1 version.
That is everything perfect.

The scenario when you hit some problem is when you tag release in SPACEWALK-0.4 branch (and you will get 0.4.17-1) and then you forgot to bump up version in master you tag there release as well and you will get 0.4.17-1 as well. But either git pull or git push --tags will stop you since you can not have one tag for two different commits. Therefore it is nearly impossible to do things wrong.

--
Miroslav Suchy
RHN Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to