These are the steps to make a release for version <version_number>
:
- Make sure you are working on the current tip of the master branch.
- Make sure the merged PRs of all important changes have the "Add To Changelog" label: https://github.com/ceph/ceph-salt/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Amerged+label%3A%22Add+To+Changelog%22+
- Update
CHANGELOG.md
with all important changes introduced since previous version.- Create a new section
[<version_number>] <date YYYY-MM-DD>
and move all entries from the[Unreleased]
section to the new section. - Make sure all github issues resolved in this release are referenced in the changelog.
- Update the links at the bottom of the file.
- Create a new section
- Update version number in
ceph-salt.spec
toVersion: <version_number>
. - Create a commit with title
Bump to v<version_number>
containing the modifications toCHANGELOG.md
made in the previous two steps. - create and merge a new PR with this bump.
- go to https://github.com/ceph/ceph-salt/releases and create a new release
- Remove the "Add To Changelog" labels from all the merged PRs
- Verify that no merged PRs have "Add To Changelog" label: https://github.com/ceph/ceph-salt/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Amerged+label%3A%22Add+To+Changelog%22+