[openstack-dev] [release][ptl] tools for creating new releases
doug at doughellmann.com
Tue Aug 8 18:03:17 UTC 2017
Excerpts from Armando M.'s message of 2017-08-08 08:48:34 -0700:
> On 8 August 2017 at 06:30, Doug Hellmann <doug at doughellmann.com> wrote:
> > We realized recently that we haven't publicized some of the tools
> > in the releases repository very well. One tool that will be useful
> > this week as you prepare your release candidates is the 'new-release'
> > command, which edits a deliverable file to add a new release from
> > HEAD of the given branch, automatically computing the next verison
> > number based on the inputs.
> > Use the ``venv`` tox environment to run the tool, like this:
> > $ tox -e venv -- new-release SERIES DELIVERABLE TYPE
> > The SERIES value should be the release series, such as "pike".
> > The DELIVERABLE value should be the deliverable name, such as
> > "oslo.config" or "cinder".
> > The TYPE value should be one of "bugfix", "feature", "major",
> > "milestone", or "rc".
> > If the most recent release of cinder during the pike series is
> > 18.104.22.168b3 then running:
> > $ tox -e venv -- new-release pike cinder rc
> > detects that this is the first release candidate and updates the
> > file deliverables/pike/cinder.yaml with the new release 22.214.171.124rc1
> > and instructions to create a new stable branch at that tag.
> > There are some more details in the README.rst file in the releases
> > repository, and as usual you'll find us in #openstack-release if you
> > have questions.
> I tried it and it works like a charm, though I noticed some harmless side
> effects in that changes  in my patch showed up unsolicited.
Changing booleans from true/false to yes/no is a side-effect of
some of the settings in the YAML formatter.
> > Doug
> > __________________________________________________________________________
> > OpenStack Development Mailing List (not for usage questions)
> > Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
More information about the OpenStack-dev