Update how to release section
Based on latest changes [1] in the releases project that changed the
behavior of list_unreleased_changes.
[1] 4912f7d5d0
Change-Id: If5fd848bf3fddeb1ae66dc9aafa882588b83f41a
This commit is contained in:
parent
fbc3c798a1
commit
271d85e998
@ -159,24 +159,23 @@ following the next steps:
|
|||||||
* The ``_independent`` directory contains yaml files for deliverables that
|
* The ``_independent`` directory contains yaml files for deliverables that
|
||||||
are not bound to (official) cycles (e.g. ironic-python-agent-builder).
|
are not bound to (official) cycles (e.g. ironic-python-agent-builder).
|
||||||
|
|
||||||
* To check the changes we're about to release we can use the script
|
* To check the changes we're about to release we can use the tox environment
|
||||||
``list_unreleased_changes.sh``, that can be found under the ``tools``
|
``list-unreleased-changes``, with this syntax:
|
||||||
directory, with this syntax:
|
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
list_unreleased_changes.sh <branch> <deliverable>
|
tox -e venv -- list-unreleased-changes <series> <deliverable>
|
||||||
|
|
||||||
The ``branch`` argument is a branch, not a release series (i.e. master or
|
The ``series`` argument is a release series (i.e. master or train,
|
||||||
stable/train, not ussuri or train).
|
not stable/ussuri or stable/train).
|
||||||
|
|
||||||
For example, assuming we're in the main directory of the releases repository,
|
For example, assuming we're in the main directory of the releases repository,
|
||||||
to check the changes in the train branch for ironic-python-agent
|
to check the changes in the ussuri series for ironic-python-agent
|
||||||
type:
|
type:
|
||||||
|
|
||||||
.. code-block:: bash
|
.. code-block:: bash
|
||||||
|
|
||||||
./tools/list_unreleased_changes.sh stable/train openstack/ironic-python-agent
|
tox -e venv -- list-unreleased-changes ussuri openstack/ironic-python-agent
|
||||||
|
|
||||||
* To update the deliverable file for the new release, we use a scripted process
|
* To update the deliverable file for the new release, we use a scripted process
|
||||||
in the form of a tox environment called ``new-release``.
|
in the form of a tox environment called ``new-release``.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user