[openstack-dev] [release] [pbr] semver on master branches after RC WAS Re: How do I calculate the semantic version prior to a release?
fungi at yuggoth.org
Fri Mar 25 12:50:04 UTC 2016
On 2016-03-25 08:41:51 -0400 (-0400), Doug Hellmann wrote:
> All of our projects are able to tag releases in master *and* stable
> branches. We regularly release stable updates to libraries.
> I'm embarrassed to say I don't know what the job you describe about
> merging tags into master does. If the commit that was tagged on a stable
> branch doesn't exist in master, what gets the tag in master? Or is the
> stable branch commit merged back into master?
It was invented as a workaround for this problem:
1. Create a new stable branch during the RC period.
2. Tag the first release on the new stable branch.
3. Compare dev versioning between new stable branch and master,
you'll see that master's version is lower because it contains
no record there's been a release tagged yet.
If the tag on the stable branch is higher than the tag on master, we
merge the tag and its history into master but keep the current
master branch state via this script:
It's possible that the logic there requires revisiting due to
nuanced changes in our release model, but it should still be
More information about the OpenStack-dev